Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1AllocRegion.hpp @ 8504:86b4965f0c9a
-Cleanup code
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Wed, 20 Mar 2013 21:39:24 +0100 |
parents | 9412b1915547 |
children | dee7c8b578c7 |
comparison
equal
deleted
inserted
replaced
8503:58385e7565ff | 8504:86b4965f0c9a |
---|---|
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 | |
185 | 176 |
186 #if G1_ALLOC_REGION_TRACING | 177 #if G1_ALLOC_REGION_TRACING |
187 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL); | 178 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL); |
188 #else // G1_ALLOC_REGION_TRACING | 179 #else // G1_ALLOC_REGION_TRACING |
189 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL) { } | 180 void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL) { } |