RFR: 8331429: [JVMCI] Cleanup JVMCIRuntime allocation routines

Doug Simon dnsimon at openjdk.org
Sat May 11 07:44:09 UTC 2024


On Fri, 10 May 2024 21:37:39 GMT, Dean Long <dlong at openjdk.org> wrote:

>> This PR removes allocation routines that may throw exception from JVMCIRuntime. It also exports various symbols related to the hashed secondary supers table.
>
> src/hotspot/share/jvmci/jvmciRuntime.cpp line 131:
> 
>> 129:       // Cannot re-execute class initialization without side effects
>> 130:       // so return without attempting the initialization
>> 131:       return;
> 
> Do we need to call `current->set_vm_result(nullptr)` on these bailout paths?

That's done in `~RetryableAllocationMark`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19176#discussion_r1597386283


More information about the hotspot-compiler-dev mailing list