Integrated: 8258734: jdk/jfr/event/oldobject/TestClassLoaderLeak.java failed with "RuntimeException: Could not find class leak"
Erik Gahlin
egahlin at openjdk.java.net
Wed Sep 22 11:49:21 UTC 2021
Hi,
Could I have a review of a test fix that prints all old objects events to simplify analysis. I also changed the ratio between loaded classes and instances to increase the likelihood that an object is sampled.
Testing: Running jdk/jfr/event/oldobject/TestClassLoaderLeak.java 100 times
Thanks
Erik
-------------
Commit messages:
- Improved allocation
- remove unused imports
- Remove randomness
- Increase array size
- Decrease number of class instances
- Initial
Changes: https://git.openjdk.java.net/jdk/pull/5513/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5513&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8258734
Stats: 7 lines in 1 file changed: 4 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/5513.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5513/head:pull/5513
PR: https://git.openjdk.java.net/jdk/pull/5513
More information about the hotspot-jfr-dev
mailing list