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

R28.2.2 crashed at sun/management/threadimpl.getthreadtotalcputime1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-svc

      Description

      SHORT SUMMARY:
       
      Crash at sun/management/ThreadImpl.getThreadTotalCpuTime1
      Codes are "Unreadable"

      INDICATORS:
       
      Thread Stack Trace:
            -- Java stack --
            at sun/management/ThreadImpl.getThreadTotalCpuTime1([J[J)V(Native
        Method)
            at sun/management/ThreadImpl.getThreadCpuTime(ThreadImpl.java:254)
            at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
            at
        
      jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/la
        ng/Object;)Ljava/lang/Object;(Native Method)
            at
        
      sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/
        lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
            at
        
      sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
            at
        
      sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
        java:25)[optimized]
            at java/lang/reflect/Method.invoke(Method.java:597)[optimized]
            at
        
      com/sun/jmx/mbeanserver/ConvertingMethod.invokeWithOpenReturn(ConvertingMetho
        d.java:167)[inlined]
            at
        
      com/sun/jmx/mbeanserver/MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:9
        6)[inlined]
        .....
            -- end of trace


      Couple of other things :
      "rip = 0000000000000000" is strange.
      The jmm_interface table is at 0x6d5e6110 and the GetThreadCpuTimesWithKind
      entry at offset 0xe8 is quadword
      zero (as is most of that struct). So that struct must have been incorrectly
      initialized or corrupted.
       
      COUNTER INDICATORS:
      NA
       
      TRIGGERS:
       
      Microsoft Windows Server 2008 version 6.0 Service Pack 2 (Build 6002)
        (64-bit)
      CPU architecture
        Intel Core i7 (HT) SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 Core Intel64

       
      KNOWN WORKAROUND:
       
      Suggestion is for Clients to use the java.lang.management MBeans
       
      PRESENT SINCE:
       
      NA
       
      HOW TO VERIFY:
       
      NA
       
      NOTES FOR SE:
       
      *** PNAUMAN 07/16/12 02:16 pm ***
      @ JRockit does not implement JmmInterface.GetThreadCpuTimesWithKind
      @ (jmm_interface->GetThreadCpuTimesWithKind is always NULL) so
      @ sun/management/ThreadImpl.getThreadCpuTime([J)[J should not attempt to call
      @ it.

       
      REGRESSION:
       
      No

        Attachments

          Activity

            People

            • Assignee:
              mbankal Mala Bankal (Inactive)
              Reporter:
              shadowbug Shadow Bug
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: