RFR: 8323616: [JVMCI] TestInvalidJVMCIOption.java fails intermittently with NPE [v3]

Tobias Hartmann thartmann at openjdk.org
Tue Jan 16 10:50:29 UTC 2024


On Tue, 16 Jan 2024 08:36:37 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`.
>
> Doug Simon has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use vm_exit_during_initialization instead of vm_exit

Looks reasonable.

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

Marked as reviewed by thartmann (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17397#pullrequestreview-1823045374


More information about the hotspot-compiler-dev mailing list