RFR: 8323694: RISC-V: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe

Fei Yang fyang at openjdk.org
Tue Jan 16 02:32:19 UTC 2024


On Tue, 16 Jan 2024 02:21:50 GMT, Gui Cao <gcao at openjdk.org> wrote:

> 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)

Marked as reviewed by fyang (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/17436#pullrequestreview-1822437193


More information about the hotspot-compiler-dev mailing list