43 final static String PID = "" + ProcessHandle.current().pid(); |
43 final static String PID = "" + ProcessHandle.current().pid(); |
44 |
44 |
45 // Here's a sample "Threads class SMR info" section: |
45 // Here's a sample "Threads class SMR info" section: |
46 // |
46 // |
47 // Threads class SMR info: |
47 // Threads class SMR info: |
48 // _smr_java_thread_list=0x0000000000ce8da0, length=23, elements={ |
48 // _java_thread_list=0x0000000000ce8da0, length=23, elements={ |
49 // 0x000000000043a800, 0x0000000000aee800, 0x0000000000b06800, 0x0000000000b26000, |
49 // 0x000000000043a800, 0x0000000000aee800, 0x0000000000b06800, 0x0000000000b26000, |
50 // 0x0000000000b28800, 0x0000000000b2b000, 0x0000000000b2e000, 0x0000000000b30000, |
50 // 0x0000000000b28800, 0x0000000000b2b000, 0x0000000000b2e000, 0x0000000000b30000, |
51 // 0x0000000000b32800, 0x0000000000b35000, 0x0000000000b3f000, 0x0000000000b41800, |
51 // 0x0000000000b32800, 0x0000000000b35000, 0x0000000000b3f000, 0x0000000000b41800, |
52 // 0x0000000000b44000, 0x0000000000b46800, 0x0000000000b48800, 0x0000000000b53000, |
52 // 0x0000000000b44000, 0x0000000000b46800, 0x0000000000b48800, 0x0000000000b53000, |
53 // 0x0000000000b55800, 0x0000000000b57800, 0x0000000000b5a000, 0x0000000000b5c800, |
53 // 0x0000000000b55800, 0x0000000000b57800, 0x0000000000b5a000, 0x0000000000b5c800, |
54 // 0x0000000000cc8800, 0x0000000000fd9800, 0x0000000000ef4800 |
54 // 0x0000000000cc8800, 0x0000000000fd9800, 0x0000000000ef4800 |
55 // } |
55 // } |
56 // _smr_java_thread_list_alloc_cnt=24, _smr_java_thread_list_free_cnt=23, _smr_java_thread_list_max=23, _smr_nested_thread_list_max=0 |
56 // _java_thread_list_alloc_cnt=24, _java_thread_list_free_cnt=23, _java_thread_list_max=23, _nested_thread_list_max=0 |
57 // _smr_delete_lock_wait_cnt=0, _smr_delete_lock_wait_max=0 |
57 // _delete_lock_wait_cnt=0, _delete_lock_wait_max=0 |
58 // _smr_to_delete_list_cnt=0, _smr_to_delete_list_max=1 |
58 // _to_delete_list_cnt=0, _to_delete_list_max=1 |
59 |
59 |
60 final static String HEADER_STR = "Threads class SMR info:"; |
60 final static String HEADER_STR = "Threads class SMR info:"; |
61 |
61 |
62 static boolean verbose = false; |
62 static boolean verbose = false; |
63 |
63 |