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

SA: On amd64 machine getAllThreads throws wrong type exception.

XMLWordPrintable

    • x86
    • windows_2000

      On amd64 SA is not able to get the thread list information
      because it is not able to deduce the type of thread from the
      address got from _thread_list. It throughs wrong type
      exception.

      Exception stack trace:


      Exception in thread "main" java.lang.RuntimeException: Unable to deduce type of
      thread from address 0x0000000005130000 (expected type JavaThread, CompilerThread
      , LowMemoryDetectorThread, JvmtiAgentThread, JVMPIDaemonThread or SurrogateLocke
      rThread)
              at sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:
      125)
              at sun.jvm.hotspot.runtime.Threads.first(Threads.java:113)
              at sun.jvm.hotspot.jdi.VirtualMachineImpl.getAllThreads(VirtualMachineIm
      pl.java:460)
              at sun.jvm.hotspot.jdi.VirtualMachineImpl.allThreads(VirtualMachineImpl.
      java:475)
              at nsk.sajdi.SACoreAttachingConnector.attach.attach002.runIt(attach002.j
      ava:162)
              at nsk.sajdi.SACoreAttachingConnector.attach.attach002.run(attach002.jav
      a:26)
              at nsk.sajdi.SACoreAttachingConnector.attach.attach002.main(attach002.ja
      va:21)
      Caused by: sun.jvm.hotspot.types.WrongTypeException: No suitable match for type
      of address 0x0000000005130000 (nearest symbol is jvm!??_7LowMemoryDetectorThread
      @@6B@)
              at sun.jvm.hotspot.runtime.VirtualConstructor.instantiateWrapperFor(Virt
      ualConstructor.java:78)
              at sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:
      121)
              ... 6 more

            Unassigned Unassigned
            swamyv Swamy Venkataramanappa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: