Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
20737:75430ce42425 | 20738:e2ed74d2e054 |
---|---|
171 // re-instate it at the beginning of the next GC.) | 171 // re-instate it at the beginning of the next GC.) |
172 void set(HeapRegion* alloc_region); | 172 void set(HeapRegion* alloc_region); |
173 | 173 |
174 // Should be called when we want to release the active region which | 174 // Should be called when we want to release the active region which |
175 // is returned after it's been retired. | 175 // is returned after it's been retired. |
176 HeapRegion* release(); | 176 virtual HeapRegion* release(); |
177 | 177 |
178 #if G1_ALLOC_REGION_TRACING | 178 #if G1_ALLOC_REGION_TRACING |
179 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL); | 179 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL); |
180 #else // G1_ALLOC_REGION_TRACING | 180 #else // G1_ALLOC_REGION_TRACING |
181 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL) { } | 181 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL) { } |