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

[Image] Deadlock intializing ByteBgra and ByteBgraPre from multiple threads

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u5
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None

      Description

      I am seeing deadlock in class initialization between "JavaFX Application Thread" and "QuantumRenderer-0" on my Kubuntu Linux with

      $ java -version
      java version "1.8.0_05"
      Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
      Java HotSpot(TM) Server VM (build 25.5-b02, mixed mode)

      Happens relatively frequently in my application. Search the attached thread dump for the <cinit> statements. The CPU is at 0%, so it really seems like a kind of lock in spite the thread state is marked as RUNNABLE.

        Attachments

        1. dump.txt
          17 kB
        2. dump-1.8.0-11.txt
          31 kB
        3. ImageRace.java
          2 kB
        4. ImageRace.patch
          3 kB
        5. ImageRace2.java
          3 kB
        6. ImageRace3.java
          7 kB
        7. ImageRace3Old.java
          7 kB
        8. ImageRace-dump.log
          9 kB

          Issue Links

            Activity

              People

              Assignee:
              flar Jim Graham
              Reporter:
              jtulach Jaroslav Tulach
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: