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

Gui Cao gcao at openjdk.org
Thu Jan 18 02:31:20 UTC 2024


On Tue, 16 Jan 2024 02:29:42 GMT, Fei Yang <fyang 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).

@RealFYang @robehn : Thanks for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/17436#issuecomment-1897667723


More information about the hotspot-compiler-dev mailing list