When starting the JFR using jcmd
command and creating a recording dump, the resulting .jfr file when opened in mission control shows the timeline starting from 1/1/1970.
The issue occurs only for the first recording dump after starting the application, any subsequent dumps have correct timestamp.
Couldn't look up anything on web, would appreciate any tips on how to resolve it.
commands used:
jcmd myApp JFR.start defaultrecording=true
jcmd $app_pid JFR.dump recording=0 filename=$dump_file
JVM version:
Java HotSpot(TM) 64-Bit Server VM (25.271-b25) for linux-amd64 JRE (1.8.0_271-b25)
Edit: this occurs only when using parameter defaultrecording=true