RFR: 8323584: AArch64: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe

Aleksey Shipilev shade at openjdk.org
Fri Jan 12 11:59:19 UTC 2024


On Fri, 12 Jan 2024 08:49:27 GMT, Andrew Haley <aph at openjdk.org> wrote:

> There are more of those. While they don't have much of an effect on runtime, it might be worth a cleanup pass to remove them in one go.

Right. I would prefer to remove `ResourceMark`-s one by one, though, because one needs to go through all callees in the scope to actually verify the absence of resource allocations. I would not trust testing to find missing RMs reliably, especially when obscure uses are hiding on some branches.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17372#issuecomment-1888982565


More information about the hotspot-compiler-dev mailing list