Request for review: 8006628: NEED_TEST for JDK-8002870

Jon Masamitsu jon.masamitsu at
Mon Jan 28 17:18:38 UTC 2013

Can this test be implemented using a call to
System.gc() instead of trying to fill up the heap
to provoke a GC?


On 01/21/13 03:14, Filipp Zhinkin wrote:
> Hi all,
> Would someone review the following regression test please?
> Test verifies that VM will not crash with G1 GC and ParallelGCThreads 
> == 0.
> To ensure that it is true test allocates array until OOME.
> Max heap size is limited by 32M for this test to ensure that GC will 
> occur.
> Since crash could occur only during PLAB resizing after GC,
> ResizePLAB option is explicitly turned on.
> Thanks,
> Filipp.

More information about the hotspot-gc-dev mailing list