I'm testing my Java code with filghtrecorder, all other data sees good(they shows sth.), but the "Memory -> Object Statistics" is empty.
Using JDK 1.8.0_161
Here is the parameter I used.
java -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=dumponexit=true,filename=4.jfr,settings=default -jar myapp.jar
I tried change the settings to "settings=profile", but not help. (I don't know the different)
I'm wondering why it's not enable by default, or it's enabled but none of the object worth to record ?