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

Fei Yang fyang at openjdk.org
Fri Jan 12 01:25:22 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}`

LGTM.

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

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17372#pullrequestreview-1817120885


More information about the hotspot-compiler-dev mailing list