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

Robbin Ehn rehn at openjdk.org
Wed Jan 17 08:45:55 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)

Thanks!

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

Marked as reviewed by rehn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list