Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8364004

Expose VMError::controlledCrash via Whitebox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 26
    • hotspot
    • None

      -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.

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: