-
Bug
-
Resolution: Not an Issue
-
P3
-
8.3.0
Steps to reproduce.
- Create a continuous JFR that contains virtual thread-related JDK attributes (example below). Please use profile.jfc within JDK 20 for a fresh recording,
<event name="jdk.VirtualThreadStart"> <setting name="enabled">true</setting> <setting name="stackTrace">true</setting> </event> <event name="jdk.VirtualThreadEnd"> <setting name="enabled">true</setting> </event> <event name="jdk.VirtualThreadPinned"> <setting name="enabled">true</setting> <setting name="stackTrace">true</setting> <setting name="threshold">20 ms</setting> </event> <event name="jdk.VirtualThreadSubmitFailed"> <setting name="enabled">true</setting> <setting name="stackTrace">true</setting> </event>
- Dump the JFR directly from JMC, or try to open an already dumped JFR to the file system
- The direct dumping from JMC, or opening the JFR file in JMC fails with the following message
[2.544s][info][jfr,startup] Use jcmd 30940 JFR.dump name=JMC_Default filename=FILEPATH to copy recording data to file. Jul 31, 2022 10:39:38 PM org.openjdk.jmc.flightrecorder.internal.parser.v1.ValueReaders$ReflectiveReader addField WARNING: Could not find field with name 'virtual' in reader for 'thread' Jul 31, 2022 10:39:38 PM org.openjdk.jmc.flightrecorder.internal.parser.v1.ValueReaders$ReflectiveReader addField WARNING: Could not find field with name 'virtual' in reader for 'thread' Jul 31, 2022 10:39:38 PM org.openjdk.jmc.flightrecorder.internal.parser.v1.ValueReaders$ReflectiveReader addField WARNING: Could not find field with name 'virtual' in reader for 'thread'