equal
deleted
inserted
replaced
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) { } |