RFR: 8374745: Test vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters004/TestDescription.java failed
Leonid Mesnik
lmesnik at openjdk.org
Fri Jan 9 04:03:14 UTC 2026
On Thu, 8 Jan 2026 17:43:16 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> vmTestbase/CollectionCounters test still unreliable.
> Avoid -Xcomp and use WhiteBox to cause GC.
Changes requested by lmesnik (Reviewer).
test/hotspot/jtreg/vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters001/CollectionCounters001.java line 83:
> 81: updateCounters();
> 82: validate(false /* don't check gc count increases */);
> 83: Algorithms.eatMemory(stresser);
The corresponding import should be removed.
-------------
PR Review: https://git.openjdk.org/jdk/pull/29122#pullrequestreview-3642221537
PR Review Comment: https://git.openjdk.org/jdk/pull/29122#discussion_r2674713594
More information about the serviceability-dev
mailing list