[jdk20] Integrated: 8287699: jdk/jfr/api/consumer/TestRecordingFileWrite.java fails with exception: java.lang.Exception: Found event that should not be there.
Markus Grönlund
mgronlun at openjdk.org
Fri Dec 16 10:49:53 UTC 2022
On Thu, 15 Dec 2022 14:48:17 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
> Greetings,
>
> the problem here addressed will close a gap in the constant pool data for threads, which up to now has been written on thread start only, but not on thread end. This leads to a race where a thread can write an event in a new chunk and terminate before the JFR recorder thread has had a chance to iterate it. By also writing constant pool data for threads on thread end, we close this gap.
>
> Testing: jdk_jfr, stress testing
>
> Thanks
> Markus
This pull request has now been integrated.
Changeset: 0ba47348
Author: Markus Grönlund <mgronlun at openjdk.org>
URL: https://git.openjdk.org/jdk20/commit/0ba473489151d74c8a15b75ff4964ac480fecb28
Stats: 4 lines in 2 files changed: 3 ins; 1 del; 0 mod
8287699: jdk/jfr/api/consumer/TestRecordingFileWrite.java fails with exception: java.lang.Exception: Found event that should not be there.
Reviewed-by: egahlin
-------------
PR: https://git.openjdk.org/jdk20/pull/41
More information about the hotspot-jfr-dev
mailing list