RFR: 8315818: vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java fails on libgraal [v2]
Doug Simon
dnsimon at openjdk.org
Fri Sep 8 11:58:47 UTC 2023
On Thu, 7 Sep 2023 11:01:16 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> Instead of eagerly initializing JVMCI for `-Xcomp`, this defers JVMCI compilations until JVMCI is initializable. In the case of libgraal, no compilations are deferred since libgraal is always initializable. For jargraal, it still has to wait until the VM has reached a certain initialization phase so as to avoid deadlocks bewteen the main thread and a compiler thread.
>>
>> This allows tests such as `vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java` to succeed on libgraal, even when there is insufficient virtual memory to mmap libgraal. Failing to initialize libgraal in that scenario now results in a bailout instead of exiting the VM.
>
> Doug Simon has updated the pull request incrementally with one additional commit since the last revision:
>
> instead of eagerly initializing JVMCI for -Xcomp, defer JVMCI compilations until JVMCI is initializable
Thanks for the review Tom.
Thanks for the review Tom.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15602#issuecomment-1711552075
PR Comment: https://git.openjdk.org/jdk/pull/15602#issuecomment-1711552293
More information about the hotspot-runtime-dev
mailing list