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

Aleksey Shipilev shade at openjdk.java.net
Thu Sep 30 06:57:35 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

This pull request has now been integrated.

Changeset: f8415a9b
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f8415a9b2f610ed431e6948c8174f6d982e5b31f
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

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

Reviewed-by: mchung, cjplummer

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

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


More information about the serviceability-dev mailing list