RFR: 8298379: JFR: Some UNTIMED events only sets endTime [v2]

Markus Grönlund mgronlun at openjdk.org
Thu Dec 8 13:36:53 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

Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:

  typo and additionals

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/11592/files
  - new: https://git.openjdk.org/jdk/pull/11592/files/3dfa329f..2407c6cf

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11592&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11592&range=00-01

  Stats: 3 lines in 3 files changed: 2 ins; 0 del; 1 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