mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-07 17:08:53 +00:00
8346051: MemoryTest fails when Shenandoah's generational mode is enabled
Reviewed-by: lmesnik, ysr
This commit is contained in:
parent
2ce53e8848
commit
cfa04d31dd
@ -46,17 +46,29 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @test id=Shenandoah
|
||||
* @bug 4530538
|
||||
* @summary Basic unit test of MemoryMXBean.getMemoryPools() and
|
||||
* MemoryMXBean.getMemoryManager().
|
||||
* @requires vm.gc == "Shenandoah"
|
||||
* @summary Shenandoah has a gc mgr bean for cycles and another
|
||||
* for pauses, they both have one pool.
|
||||
* @requires vm.gc == "Shenandoah" & vm.opt.ShenandoahGCMode != "generational"
|
||||
* @author Mandy Chung
|
||||
*
|
||||
* @modules jdk.management
|
||||
* @run main MemoryTest 2 1
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test id=Genshen
|
||||
* @bug 4530538
|
||||
* @summary Shenandoah's generational mode has a gc mgr bean for cycles
|
||||
* and another for pauses. They both reference the young and old pools.
|
||||
* @requires vm.gc == "Shenandoah" & vm.opt.ShenandoahGCMode == "generational"
|
||||
* @author Mandy Chung
|
||||
*
|
||||
* @modules jdk.management
|
||||
* @run main MemoryTest 2 2
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 4530538
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user