-
Bug
-
Resolution: Fixed
-
P4
-
24, 25, 26
-
b18
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8369707 | 25.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b02 |
I tried to get thread dump of the process which is enabled JFR, then I got strange thread dump like this:
```
os_prio=0 cpu=64.47ms elapsed=20.34s tid=0x00007ff7cd3ffae0 nid=59812 runnable
os_prio=0 cpu=12.76ms elapsed=20.34s tid=0x00007ff7cd3ff5a0 nid=59811 runnable
```
Thread name is lacked in the dump (and lacks of LF in addition).
I checked them with `ps -eL -o pid,tid,comm`, then I was aware they were JFR sampler threads.
```
59789 59811 JFR CPU Sampler
59789 59812 JFR Sampler Thr
```
So they should be shown like this:
```
"JFR Sampler Thread" os_prio=0 cpu=25.59ms elapsed=8.77s tid=0x00007f5f45626a50 nid=62979 runnable
"JFR CPU Sampler Thread" os_prio=0 cpu=4.78ms elapsed=8.78s tid=0x00007f5f45626060 nid=62978 runnable
```
```
os_prio=0 cpu=64.47ms elapsed=20.34s tid=0x00007ff7cd3ffae0 nid=59812 runnable
os_prio=0 cpu=12.76ms elapsed=20.34s tid=0x00007ff7cd3ff5a0 nid=59811 runnable
```
Thread name is lacked in the dump (and lacks of LF in addition).
I checked them with `ps -eL -o pid,tid,comm`, then I was aware they were JFR sampler threads.
```
59789 59811 JFR CPU Sampler
59789 59812 JFR Sampler Thr
```
So they should be shown like this:
```
"JFR Sampler Thread" os_prio=0 cpu=25.59ms elapsed=8.77s tid=0x00007f5f45626a50 nid=62979 runnable
"JFR CPU Sampler Thread" os_prio=0 cpu=4.78ms elapsed=8.78s tid=0x00007f5f45626060 nid=62978 runnable
```
- backported by
-
JDK-8369707 JFR sampler threads does not appear in thread dump
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk25u/8df7dd1c
-
Commit(master)
openjdk/jdk/64c46d8e
-
Review(master)
openjdk/jdk25u/291
-
Review(master)
openjdk/jdk/27357