Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/prims/whitebox.cpp Tue Aug 19 12:39:06 2014 +0200 +++ b/src/share/vm/prims/whitebox.cpp Tue Aug 19 10:50:27 2014 +0200 @@ -231,7 +231,7 @@ WB_ENTRY(jlong, WB_G1NumFreeRegions(JNIEnv* env, jobject o)) G1CollectedHeap* g1 = G1CollectedHeap::heap(); - size_t nr = g1->free_regions(); + size_t nr = g1->num_free_regions(); return (jlong)nr; WB_END