RFR: 8274523: java/lang/management/MemoryMXBean/MemoryTest.java test should handle Shenandoah

Chris Plummer cjplummer at openjdk.java.net
Wed Sep 29 18:54:33 UTC 2021


On Wed, 29 Sep 2021 17:56:00 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Currently it fails with:
> 
> 
> $ CONF=linux-x86_64-server-fastdebug make run-test TEST=java/lang/management/MemoryMXBean/MemoryTest.java
> 
> STDERR:
> java.lang.RuntimeException: TEST FAILED: Number of heap pools = 1 but expected <= 3 and >= 3
> 
> 
> Z already handles it with a special configuration, Shenandoah should do the same. 
> 
> Additional testing:
>  - [x] Affected test now works for Shenandoah
>  - [x] Affected test still works for Z
>  - [x] Affected test still works for G1

Marked as reviewed by cjplummer (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/5758


More information about the core-libs-dev mailing list