Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/whitebox.cpp @ 20336:6701abbc4441
8054818: Refactor HeapRegionSeq to manage heap region and auxiliary data
Summary: Let HeapRegionSeq manage the heap region and auxiliary data to decrease the amount of responsibilities of G1CollectedHeap, and encapsulate this work from other code.
Reviewed-by: jwilhelm, jmasa, mgerdin, brutisso
author | tschatzl |
---|---|
date | Tue, 19 Aug 2014 10:50:27 +0200 |
parents | 2c6ef90f030a |
children | 4bfc44ba0d19 |
comparison
equal
deleted
inserted
replaced
20335:eec72fa4b108 | 20336:6701abbc4441 |
---|---|
229 return hr->isHumongous(); | 229 return hr->isHumongous(); |
230 WB_END | 230 WB_END |
231 | 231 |
232 WB_ENTRY(jlong, WB_G1NumFreeRegions(JNIEnv* env, jobject o)) | 232 WB_ENTRY(jlong, WB_G1NumFreeRegions(JNIEnv* env, jobject o)) |
233 G1CollectedHeap* g1 = G1CollectedHeap::heap(); | 233 G1CollectedHeap* g1 = G1CollectedHeap::heap(); |
234 size_t nr = g1->free_regions(); | 234 size_t nr = g1->num_free_regions(); |
235 return (jlong)nr; | 235 return (jlong)nr; |
236 WB_END | 236 WB_END |
237 | 237 |
238 WB_ENTRY(jboolean, WB_G1InConcurrentMark(JNIEnv* env, jobject o)) | 238 WB_ENTRY(jboolean, WB_G1InConcurrentMark(JNIEnv* env, jobject o)) |
239 G1CollectedHeap* g1 = G1CollectedHeap::heap(); | 239 G1CollectedHeap* g1 = G1CollectedHeap::heap(); |