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

[JVMCI] include error message when CreateJavaVM in libgraal fails

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • hotspot
    • b21

      Creating a new libgraal isolate can fail for a number of reasons. Currently, all that one sees on such a failure is a Native Image specific error code. This makes understanding and triaging such failures quite hard as it requires knowing where to look in the Native Image code base to interpret the error code.

      Native Image is being enhanced to return an error message along with an error code by a non-standard _strerror argument passed the Native Image's implementation of the CreateJavaVM JNI invocation interface function.

      This issue exists to update JVMCI to take advantage of this Native Image enhancement.

            dnsimon Douglas Simon
            dnsimon Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: