Integrated: 8298379: JFR: Some UNTIMED events only sets endTime
Markus Grönlund
mgronlun at openjdk.org
Thu Dec 8 14:42:32 UTC 2022
On Thu, 8 Dec 2022 13:22:35 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: c084431f
Author: Markus Grönlund <mgronlun at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c084431fae8c9f9b5a157cdaca484f63cbd6691a
Stats: 16 lines in 7 files changed: 11 ins; 1 del; 4 mod
8298379: JFR: Some UNTIMED events only sets endTime
Reviewed-by: ehelin, egahlin
-------------
PR: https://git.openjdk.org/jdk/pull/11592
More information about the hotspot-dev
mailing list