RFR: 8278109: gc/metaspace/TestPerfCountersAndMemoryPools.java fails with Used out of sync: expected 1028976 to equal 1029224
Coleen Phillimore
coleenp at openjdk.java.net
Wed Apr 27 15:24:42 UTC 2022
On Tue, 26 Apr 2022 20:42:47 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> The test is updated to don't fail if 'MemoryPoolMXBean::getUsage().getUsed()' allocate new classes intermittently.
>
> The problem was reproduced in repo-loom only. However it makes sense to push this fix into jdk/jdk separately to reduce overall push and increase test stability.
This looks good! Thanks for fixing it.
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/8408
More information about the hotspot-gc-dev
mailing list