RFR: 8323694: RISC-V: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
Gui Cao
gcao at openjdk.org
Tue Jan 16 02:26:43 UTC 2024
Hi, We noticed that RISC-V bears a similar issue as: https://bugs.openjdk.org/browse/JDK-8323584.
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.
### Testing:
- [x] Run tier1 tests on qemu 8.1.0 with UseRVV (fastdebug)
- [x] Run tier1-3 tests on qemu 8.1.0 with UseRVV (release)
-------------
Commit messages:
- 8323694: RISC-V: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
Changes: https://git.openjdk.org/jdk/pull/17436/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17436&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8323694
Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17436.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17436/head:pull/17436
PR: https://git.openjdk.org/jdk/pull/17436
More information about the hotspot-compiler-dev
mailing list