Integrated: 8372321: TestBackToBackSensitive fails intermittently after JDK-8365972
Erik Gahlin
egahlin at openjdk.org
Mon Jan 12 11:35:06 UTC 2026
On Thu, 8 Jan 2026 14:28:54 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Could I have a review of a PR that attempts to harden a test?
>
> Sometimes, ClassLoaderStatistics events are dropped, probably due to a bug in the RecordingStream class when starting multiple recordings simultaneously. This is not a bug related to back-to-back chunks, so I decided to use an EventFileStream instead.
>
> I also use TestClassLoader for verification purposes. Using PlatformClassLoader shouldn't be a problem, but it seems more prudent to have an actual object/class on the heap for the class loader that needs to be checked.
>
> Testing: jdk/jdk/jfr
>
> Thanks
> Erik
This pull request has now been integrated.
Changeset: 556bddfd
Author: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/556bddfd9439d1bad698ab5134317ce263a36b04
Stats: 47 lines in 1 file changed: 21 ins; 14 del; 12 mod
8372321: TestBackToBackSensitive fails intermittently after JDK-8365972
Reviewed-by: mgronlun
-------------
PR: https://git.openjdk.org/jdk/pull/29117
More information about the hotspot-jfr-dev
mailing list