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

Unexpected error with jmap -permstat option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • 6
    • hotspot
    • svc
    • sparc
    • generic

    Description


      Unexpected error can be seen from mustang b38 with jmap "-permstat" option.

      jmap -J-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck -permstat 10336

      The error can be reproducible consistently on Linux and Solaris builds.

      <unexpected>

      #uname -a
      SunOS minifridge 5.9 Generic sun4u sparc SUNW,Ultra-Enterprise
      # java -version
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b38)
      Java HotSpot(TM) Client VM (build 20050527105531.dcubed.service_hs_merge-debug,mixed mode)

      #which jmap
      /net/vmsqe.sfbay/export/nightly/tiger/JDK/service_hs_baseline/jdk1.6/solaris-sparc/bin/jmap

      # jmap -J-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck -permstat 10336
      Attaching to process ID 10336, please wait...
      Debugger attached successfully.
      Client compiler detected.
      JVM version is 20050527105531.dcubed.service_hs_merge-debug
      finding class loader instances ..done.
      computing per loader stat ..done.
      please wait.. computing livenessException 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.Frame.isCompiledFrame(Frame.java:121)
             at sun.jvm.hotspot.runtime.Frame.isJavaFrame(Frame.java:101)
             at sun.jvm.hotspot.runtime.StackFrameStream.<init>(StackFrameStream.java:52)
             at sun.jvm.hotspot.runtime.StackFrameStream.<init>(StackFrameStream.java:34)
             at sun.jvm.hotspot.utilities.LivenessAnalysis.doStack(LivenessAnalysis.java:585)
             at sun.jvm.hotspot.utilities.LivenessAnalysis.run(LivenessAnalysis.java:105)
             at sun.jvm.hotspot.tools.PermStat.run(PermStat.java:116)
             at sun.jvm.hotspot.tools.JMap.run(JMap.java:91)
             at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
             at sun.jvm.hotspot.tools.JMap.main(JMap.java:134)
      Caused by: java.lang.RuntimeException: field "_frame_start_offset" 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:87)
             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)
             ... 19 more

      </unexpected>
      ###@###.### 2005-05-31 09:57:58 GMT

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bkondepusunw Bala Kondepudi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: