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

[Image] Deadlock intializing ByteBgra and ByteBgraPre from multiple threads

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 8u40
    • 8u5
    • javafx
    • 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. ImageRace-dump.log
          9 kB
        2. ImageRace3Old.java
          7 kB
        3. ImageRace3.java
          7 kB
        4. ImageRace2.java
          3 kB
        5. ImageRace.patch
          3 kB
        6. ImageRace.java
          2 kB
        7. dump-1.8.0-11.txt
          31 kB
        8. dump.txt
          17 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: