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

ia64 j2se build: VM running javac enters an eternal loop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b58
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: tb29552 Date: 06/26/2004


      During a control build on windows-ia64:

       [...]
      gnumake[4]: Entering directory `E:/users/tbell/b58PIT/j2se/make/java/nio'
      gnumake[4]: Nothing to be done for `sources'.
      gnumake[4]: Leaving directory `E:/users/tbell/b58PIT/j2se/make/java/nio'
      rm -f E:/users/tbell/TL/build/tmp/java/java.lang/java/.classes.list
      if [ -s E:/users/tbell/TL/build/tmp/java/java.lang/java/.classes.list ] ; \
      then C:/j2sdk1.4.2/bin/javac -J-Xbootclasspath/p:../../sun/javac/javac/gjc.jar
      -Xbootclasspath/p:../../sun/javac/javac/collect.jar -target jsr14 -J-Xms32m
      -J-Xmx128m -classpath E:/users/tbell/TL/build/classes -bootclasspath
      "E:/users/tbell/TL/build/lib/jce.jar;E:/users/tbell/TL/build/lib/jsse.jar"
      -sourcepath
      "E:/users/tbell/TL/build/gensrc;../../../src/windows/classes;../../../src/share/classes"
      -d E:/users/tbell/TL/build/classes -encoding ascii -source 1.5 -source 1.5
      -target 1.5 -encoding ascii \
          ../../../src/share/classes/java/lang/Thread.java ..
       [[... long list of .java files to be compiled ...]]


      Much later, it was discovered that C:/j2sdk1.4.2/bin/javac.exe has accumulated
      hours of CPU time.

      Entering Ctrl-Brk shows:

      Full thread dump Java HotSpot(TM) 64-Bit Server VM (1.4.2-b28 mixed mode):

      "Signal Dispatcher" daemon prio=10 tid=0x000006fbff282630 nid=0x900 waiting on
      condition [0..0]

      "Finalizer" daemon prio=9 tid=0x000006fbff27eba0 nid=0x920 in Object.wait()
      [b1a1f000..b1a1fde8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x000006fbb4adcaf0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
      - locked <0x000006fbb4adcaf0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

      "Reference Handler" daemon prio=10 tid=0x000006fbff27d420 nid=0x93c in
      Object.wait() [b1c1f000..b1c1fde8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x000006fbb4adcb98> (a java.lang.ref.Reference$Lock)
      at java.lang.Object.wait(Object.java:429)
      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
      - locked <0x000006fbb4adcb98> (a java.lang.ref.Reference$Lock)

      "main" prio=5 tid=0x000006fbffbad810 nid=0x944 waiting on condition
      [ffeaf000..ffeafd10]
      at com.sun.tools.javac.util.ListBuffer.append(ListBuffer.java:98)
      at com.sun.tools.javac.comp.Flow.visitTry(Flow.java:1009)
      at com.sun.tools.javac.tree.Tree$Try.accept(Tree.java:674)
      at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
      at com.sun.tools.javac.comp.Flow.scanStat(Flow.java:484)
      at com.sun.tools.javac.comp.Flow.scanStats(Flow.java:492)
      at com.sun.tools.javac.comp.Flow.visitBlock(Flow.java:732)
      at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:540)
      at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
      at com.sun.tools.javac.comp.Flow.scanStat(Flow.java:484)
      at com.sun.tools.javac.comp.Flow.visitMethodDef(Flow.java:684)
      at com.sun.tools.javac.tree.Tree$MethodDef.accept(Tree.java:482)
      at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
      at com.sun.tools.javac.comp.Flow.visitClassDef(Flow.java:624)
      at com.sun.tools.javac.tree.Tree$ClassDef.accept(Tree.java:438)
      at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
      at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:1229)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:418)
      at com.sun.tools.javac.main.Main.compile(Main.java:592)
      at com.sun.tools.javac.main.Main.compile(Main.java:544)
      at com.sun.tools.javac.Main.compile(Main.java:58)
      at com.sun.tools.javac.Main.main(Main.java:48)

      "VM Thread" prio=5 tid=0x000006fbff27c300 nid=0x910 runnable

      "VM Periodic Task Thread" prio=10 tid=0x000006fbff2882e0 nid=0x8a0 waiting on
      condition
      "Suspend Checker Thread" prio=10 tid=0x000006fbff281be0 nid=0x964 runnable



      Several Ctrl-Brks in a row show the same picture. Note that only
      "VM Thread" and "Suspend Checker Thread" are runnable. Everything
      else is waiting.


      The full build log is attached as Administrator.Build.2004_06_24.16-15-49.log

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tbell Tim Bell
              Reporter:
              tbell Tim Bell
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: