-XX:ErrorHandlerTest crashes the JVM upon initialization. For many error handler tests that verify the content of hs-err files, it would be beneficial to see error reports from JVMs that have had some time to warm up.
We solve this by exposing VMError::controlledCrash via WhiteBox, and the test author can call this function whenever and wherever they want.
We solve this by exposing VMError::controlledCrash via WhiteBox, and the test author can call this function whenever and wherever they want.
- links to
-
Review(master) openjdk/jdk/26453
-
Review(master) openjdk/jdk/26472