RFR: 8323584: AArch64: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
Tobias Holenstein
tholenstein at openjdk.org
Thu Jan 11 12:45:21 UTC 2024
On Thu, 11 Jan 2024 12:17:21 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Was looking at `ICBuffer` cleaning paths that run at safepoint. In `NativeCall::set_destination_mt_safe`, there is a `ResourceMark` that does not seem to have any purpose: no code in its scope uses resource allocation. There is adjacent dead code too. Looks like a development/debugging leftover.
>
> Additional testing:
> - [ ] Linux x86_64 AArch64 server fastdebug, `tier{1,2,3}`
Thanks for removing!
Looks good to me
-------------
Marked as reviewed by tholenstein (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17372#pullrequestreview-1815483070
More information about the hotspot-compiler-dev
mailing list