oracle / visualvm

VisualVM is an All-in-One Java Troubleshooting Tool
https://visualvm.github.io/
Other
2.89k stars 305 forks source link

Could not find field with name 'virtual' in reader for 'thread' #504

Open thurka opened 1 year ago

thurka commented 1 year ago

Steps to reproduce:

  1. Open JFR snapshot from dev. build of JDK 21 (jfr-1685451518486.jfr.gz)
  2. There is warning in the messages.log:
    WARNING [org.openjdk.jmc.flightrecorder.internal.parser.v1.ValueReaders$ReflectiveReader]: Could not find field with name 'virtual' in reader for 'thread'

This is likely caused by JFR support of Virtual Threads JEP 444.

thurka commented 10 months ago

Similar issue reported against JMC: https://bugs.openjdk.org/browse/JMC-7863