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

ReadData32bit test fails with java.lang.ExceptionInInitializerError using -xincgc flag

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      sparc
    • OS:
      solaris

      Description

      Problem Description : ReadData32bit test fails with java.lang.ExceptionInInitializerError using -xincgc flag, see below for the jstack message

      Tested_Java_Release : 1.6.0
      Tested_Build : B99
      Operating System : Solaris
      Machine Name : vm-v250-2
      Test Case : gc/64bit/quicklook/largeheap/ReadData32bit
      GC Flags used : -Xincgc (ONLY),
      NOTE : I have tested the test case with ParallelOLDGC/ SerialGC/Parallel GC & was unable to reproduce the problem
      Results : http://vmsqe.sfbay/weekly/mustang/results/1.6.0-rc-b99/ServerVM/SOLSPARC5.10/comp/VM1/vm.gc-22-WEEKLYmtg-VM1-ServerVM-comp-SOLSPARC5.10-2006-09-22-17-59-29/analysis.html#New_Failures

      >jstack 7233
      Attaching to process ID 7233, please wait...
      Debugger attached successfully.
      Server compiler detected.
      JVM version is 1.6.0-rc-b99
      Deadlock Detection:

      No deadlocks found.

      Thread t@10: (state = BLOCKED)
      Exception in thread "main" java.lang.ExceptionInInitializerError
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:164)
              at sun.jvm.hotspot.code.CodeCache.class$(CodeCache.java:38)
              at sun.jvm.hotspot.code.CodeCache.initialize(CodeCache.java:39)
              at sun.jvm.hotspot.code.CodeCache.access$000(CodeCache.java:17)
              at sun.jvm.hotspot.code.CodeCache$1.update(CodeCache.java:26)
              at sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:297)
              at sun.jvm.hotspot.code.CodeCache.<clinit>(CodeCache.java:24)
              at sun.jvm.hotspot.runtime.VM.getCodeCache(VM.java:558)
              at sun.jvm.hotspot.runtime.VFrame.newVFrame(VFrame.java:44)
              at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:207)
              at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:50)
              at sun.jvm.hotspot.tools.JStack.run(JStack.java:41)
              at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
              at sun.jvm.hotspot.tools.JStack.main(JStack.java:58)
      Caused by: java.lang.RuntimeException: field "_first_dependent" not found in type nmethod
              at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:156)
              at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:163)
              at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:167)
              at sun.jvm.hotspot.types.basic.BasicType.getCIntegerField(BasicType.java:230)
              at sun.jvm.hotspot.code.NMethod.initialize(NMethod.java:82)
              at sun.jvm.hotspot.code.NMethod.access$000(NMethod.java:19)
              at sun.jvm.hotspot.code.NMethod$1.update(NMethod.java:63)
              at sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:297)
              at sun.jvm.hotspot.code.NMethod.<clinit>(NMethod.java:61)
              ... 15 more
      This problem is observed in another testcase too

      nsk/regression/b4441517

      Results : http://vmsqe.sfbay/weekly/mustang/results/1.6.0-rc-b99/ServerVM/SOLSPARC5.10/comp/VM1/nsk.regression-18-WEEKLYmtg-VM1-ServerVM-comp-SOLSPARC5.10-2006-09-18-22-48-10/analysis.html#New_Failures

      Jstack messages :
      jstack 8905
      Attaching to process ID 8905, please wait...
      Debugger attached successfully.
      Server compiler detected.
      JVM version is 1.6.0-rc-b99
      Deadlock Detection:

      No deadlocks found.

      Thread t@10: (state = BLOCKED)
      Exception in thread "main" java.lang.ExceptionInInitializerError
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:164)
              at sun.jvm.hotspot.code.CodeCache.class$(CodeCache.java:38)
              at sun.jvm.hotspot.code.CodeCache.initialize(CodeCache.java:39)
              at sun.jvm.hotspot.code.CodeCache.access$000(CodeCache.java:17)
              at sun.jvm.hotspot.code.CodeCache$1.update(CodeCache.java:26)
              at sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:297)
              at sun.jvm.hotspot.code.CodeCache.<clinit>(CodeCache.java:24)
              at sun.jvm.hotspot.runtime.VM.getCodeCache(VM.java:558)
              at sun.jvm.hotspot.runtime.VFrame.newVFrame(VFrame.java:44)
              at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:207)
              at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:50)
              at sun.jvm.hotspot.tools.JStack.run(JStack.java:41)
              at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
              at sun.jvm.hotspot.tools.JStack.main(JStack.java:58)
      Caused by: java.lang.RuntimeException: field "_first_dependent" not found in type nmethod
              at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:156)
              at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:163)
              at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:167)
              at sun.jvm.hotspot.types.basic.BasicType.getCIntegerField(BasicType.java:230)
              at sun.jvm.hotspot.code.NMethod.initialize(NMethod.java:82)
              at sun.jvm.hotspot.code.NMethod.access$000(NMethod.java:19)
              at sun.jvm.hotspot.code.NMethod$1.update(NMethod.java:63)
              at sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:297)
              at sun.jvm.hotspot.code.NMethod.<clinit>(NMethod.java:61)
              ... 15 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                smadishesunw Srinivas Madishetty (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: