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

Unsafe publication of StubCodeDesc leads to crashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Withdrawn
    • Icon: P2 P2
    • 11
    • 8, 9, 10, 11
    • hotspot
    • generic
    • generic

      The StubCodeDesc constructor is unsychronized. However, it runs when the C2 compiler thread is initializing. The compiler thread reads the StubCodeDesc list while it is in an unstable state, resulting in a read from an uninitialized pointer field and it then segfaults, causing the VM to abort.

            aph Andrew Haley
            aph Andrew Haley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: