Integrated: 8323616: [JVMCI] TestInvalidJVMCIOption.java fails intermittently with NPE
Doug Simon
dnsimon at openjdk.org
Tue Jan 16 19:35:13 UTC 2024
On Fri, 12 Jan 2024 14:25:29 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> This PR changes callSystemExit to call `vm_exit_during_initialization()` instead of `System.exit` if the module system has not been initialized. This avoids an NPE in the `System.exit` code path where it is assumed that the `Class.module` field is non-null for `java.lang.Shutdown`.
This pull request has now been integrated.
Changeset: 19c9388c
Author: Doug Simon <dnsimon at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/19c9388c2001b7b3d21624e2dd4ab4fdd8821e2f
Stats: 13 lines in 2 files changed: 11 ins; 0 del; 2 mod
8323616: [JVMCI] TestInvalidJVMCIOption.java fails intermittently with NPE
Reviewed-by: thartmann, never
-------------
PR: https://git.openjdk.org/jdk/pull/17397
More information about the hotspot-compiler-dev
mailing list