comparison src/share/vm/gc_implementation/g1/g1AllocRegion.hpp @ 8493:9412b1915547

-More G1 WB Integration-Addition of GenerateLEANode for G1 previous value equalities
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Tue, 26 Feb 2013 18:02:06 +0100
parents 720b6a76dd9d
children 86b4965f0c9a
comparison
equal deleted inserted replaced
8492:286a49d423c9 8493:9412b1915547
171 void set(HeapRegion* alloc_region); 171 void set(HeapRegion* alloc_region);
172 172
173 // Should be called when we want to release the active region which 173 // Should be called when we want to release the active region which
174 // is returned after it's been retired. 174 // is returned after it's been retired.
175 HeapRegion* release(); 175 HeapRegion* release();
176 #ifdef GRAAL
177 HeapWord** top_addr() const {
178 return _alloc_region->top_addr();
179 }
180
181 HeapWord** end_addr() const {
182 return _alloc_region->end_addr();
183 }
184 #endif
176 185
177 #if G1_ALLOC_REGION_TRACING 186 #if G1_ALLOC_REGION_TRACING
178 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL); 187 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL);
179 #else // G1_ALLOC_REGION_TRACING 188 #else // G1_ALLOC_REGION_TRACING
180 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL) { } 189 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL) { }