OSDN Git Service

Fix 114-ParallelGC.
authorHiroshi Yamauchi <yamauchi@google.com>
Tue, 27 Jan 2015 00:05:11 +0000 (16:05 -0800)
committerHiroshi Yamauchi <yamauchi@google.com>
Tue, 27 Jan 2015 00:08:16 +0000 (16:08 -0800)
commit779e70568986ef27fca17671ebdb66af2ce843f5
tree8dd49c65dfc48c7a3de5795804f271496c57d19c
parent2ca19c23b9bc64c743a4cdbe9282ad4d995b398d
Fix 114-ParallelGC.

In main(), the outer ArrayList may still be reachable after the
try-catch under the interpreter or a compiler without a liveness
analysis and the last ArrayList allocation may fail due to an OOME.

This fixes 114-ParallelGC under the CC and the GSS collectors.

Bug: 12687968
Change-Id: Ie1082d38b2a677ec70fdc23b0187ae8ce0612808
test/114-ParallelGC/src/Main.java