Integrated: 8315818: vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java fails on libgraal

Doug Simon dnsimon at openjdk.org
Fri Sep 8 11:58:49 UTC 2023


On Wed, 6 Sep 2023 20:49:05 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.

This pull request has now been integrated.

Changeset: ebc718f5
Author:    Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ebc718f5c06618894a4e667fd497d9b87514dcfd
Stats:     35 lines in 4 files changed: 13 ins; 17 del; 5 mod

8315818: vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java fails on libgraal

Reviewed-by: never

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

PR: https://git.openjdk.org/jdk/pull/15602


More information about the hotspot-runtime-dev mailing list