Mercurial > hg > truffle
diff src/share/vm/gc_implementation/g1/g1AllocRegion.hpp @ 20738:e2ed74d2e054
8044406: JVM crash with JDK8 (build 1.8.0-b132) with G1 GC
Summary: Fill the last card that has been allocated into with a dummy object
Reviewed-by: tschatzl, mgerdin
author | poonam |
---|---|
date | Tue, 19 Aug 2014 02:05:49 -0700 |
parents | 78bbf4d43a14 |
children | 227a9e5e4b4a |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1AllocRegion.hpp Wed Aug 13 17:37:11 2014 -0700 +++ b/src/share/vm/gc_implementation/g1/g1AllocRegion.hpp Tue Aug 19 02:05:49 2014 -0700 @@ -173,7 +173,7 @@ // Should be called when we want to release the active region which // is returned after it's been retired. - HeapRegion* release(); + virtual HeapRegion* release(); #if G1_ALLOC_REGION_TRACING void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL);