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

[Image] Deadlock intializing ByteBgra and ByteBgraPre from multiple threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8u40
    • 8u5
    • javafx
    • None

      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.

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

            flar Jim Graham
            jtulach Jaroslav Tulach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: