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

Aleksey Shipilev shade at openjdk.org
Thu Jan 11 12:23:35 UTC 2024


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}`

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/17372/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17372&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323584
  Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17372.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17372/head:pull/17372

PR: https://git.openjdk.org/jdk/pull/17372


More information about the hotspot-compiler-dev mailing list