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

[JVMCI] JVMCI re-initialization check is in the wrong location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b143

      JVMCI initialization must happen exactly once and this is guaranteed by serializing on JVMCI.<clinit>. There is a guarantee in JVMCI VM code that guard against re-initialization but it's in the wrong place. This was shown (see attached hs_err log) by recent Graal changes[1].

      [1] https://github.com/graalvm/graal-core/commit/13a235cf8e4278af5577d72da30058bfba426c98

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

              Created:
              Updated:
              Resolved: