RFR: 8298379: JFR: Some UNTIMED events only sets endTime
Markus Grönlund
mgronlun at openjdk.org
Thu Dec 8 13:32:03 UTC 2022
Greetings,
It was pointed out that some UNTIMED events only call set_endtime(), and not the corresponding set_starttime(), for example some events in jfrPeriodic.cpp. UNTIMED events need to have both timestamps set, because the UNTIMED parameter denotes that the user takes on the responsibility for controlling time stamping.
This change rectifies a few places by adding the corresponding set_starttime() call.
Test: jdk_jfr
Thanks
Markus
-------------
Commit messages:
- 8298379
Changes: https://git.openjdk.org/jdk/pull/11592/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11592&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8298379
Stats: 13 lines in 5 files changed: 9 ins; 1 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/11592.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11592/head:pull/11592
PR: https://git.openjdk.org/jdk/pull/11592
More information about the hotspot-dev
mailing list