Module openj9.dtfj

Class ThreadInfoLineRule

  • All Implemented Interfaces:
    ILineRule

    public class ThreadInfoLineRule
    extends LineRule
    • Constructor Detail

      • ThreadInfoLineRule

        public ThreadInfoLineRule()
    • Method Detail

      • processLine

        public void processLine​(String source,
                                int startingOffset)
        Most VMs list hexadecimal values with the 0x prefix, but at least one older Sovereign VM does not, therefore check for both patterns. 7.0 3XMTHREADINFO "main" J9VMThread:0x000CC100, j9thread_t:0x003D5600, java/lang/Thread:0x00A72440, state:R, prio=5 3XMTHREADINFO1 (native thread ID:0x1A58, native priority:0x5, native policy:UNKNOWN) 3XMTHREADINFO3 Java callstack: 4XESTACKTRACE at java/lang/Runtime.maxMemory(Native Method) 3XMTHREADINFO3 Native callstack: 4XENATIVESTACK JVM_MaxMemory+0x5 (vmi.c:209, 0x00996FF5 [jvm+0x6ff5]) 3XMTHREADINFO Anonymous native thread 3XMTHREADINFO1 (native thread ID:0x378C, native priority: 0x0, native policy:UNKNOWN) 3XMTHREADINFO3 Native callstack: 6.0 2XMFULLTHDDUMP Full thread dump J9 VM (J2RE 6.0 IBM J9 2.4 Windows XP x86-32 build jvmwi3260-20090215_2988320090215_029883_lHdSMr, native threads): 3XMTHREADINFO "JIT Compilation Thread" TID:0x000A9C00, j9thread_t:0x00015370, state:CW, prio=10 3XMTHREADINFO1 (native thread ID:0x267C, native priority:0xB, native policy:UNKNOWN) 5.0 2XMFULLTHDDUMP Full thread dump J9SE VM (J2RE 5.0 IBM J9 2.3 Windows XP x86-32 build 20051027_03723_lHdSMR, native threads): 3XMTHREADINFO "main" (TID:0x0008E900, sys_thread_t:0x00387A64, state:CW, native ID:0x0000083C) prio=5 1.4.2 2XMFULLTHDDUMP Full thread dump Classic VM (J2RE 1.4.2 IBM Windows 32 build cn142-20080130 (SR10), native threads): 3XMTHREADINFO "Finalizer" (TID:0xBAE0B0, sys_thread_t:0x16F29E8, state:CW, native ID:0x14D8) prio=8
        Specified by:
        processLine in class LineRule
        Parameters:
        source - to be parsed.