On Thu, 8 Jan 2026 17:43:16 GMT, Kevin Walls <[email protected]> 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

Reply via email to