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

Print exception message in VM crash with -XX:AbortVMOnException

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • hotspot
    • None
    • b14

      In Exceptions::debug_check_abort, we crash the VM if the exception matches with -XX:AbortVMOnException.

      Currently, in the VM crash description, we only print the exception name (value_string), and not its message (message). For completeness and consistency, we should also print the exception message.

      code line:
      fatal("Saw %s: %s, aborting", value_string, message);

      file:
      src/hotspot/share/utilities/exceptions.cpp

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: