hotspot/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp
changeset 26846 7d4376f8560e
parent 26839 021bfc544c6f
child 29693 fac175f7a466
--- a/hotspot/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp	Thu Sep 11 17:13:30 2014 -0700
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp	Tue Sep 23 11:43:24 2014 +0200
@@ -210,8 +210,8 @@
 class G1AdjustPointersClosure: public HeapRegionClosure {
  public:
   bool doHeapRegion(HeapRegion* r) {
-    if (r->isHumongous()) {
-      if (r->startsHumongous()) {
+    if (r->is_humongous()) {
+      if (r->is_starts_humongous()) {
         // We must adjust the pointers on the single H object.
         oop obj = oop(r->bottom());
         // point all the oops to the new location
@@ -266,8 +266,8 @@
   G1SpaceCompactClosure() {}
 
   bool doHeapRegion(HeapRegion* hr) {
-    if (hr->isHumongous()) {
-      if (hr->startsHumongous()) {
+    if (hr->is_humongous()) {
+      if (hr->is_starts_humongous()) {
         oop obj = oop(hr->bottom());
         if (obj->is_gc_marked()) {
           obj->init_mark();
@@ -310,7 +310,7 @@
   HeapWord* end = hr->end();
   FreeRegionList dummy_free_list("Dummy Free List for G1MarkSweep");
 
-  assert(hr->startsHumongous(),
+  assert(hr->is_starts_humongous(),
          "Only the start of a humongous region should be freed.");
 
   hr->set_containing_set(NULL);
@@ -348,8 +348,8 @@
 }
 
 bool G1PrepareCompactClosure::doHeapRegion(HeapRegion* hr) {
-  if (hr->isHumongous()) {
-    if (hr->startsHumongous()) {
+  if (hr->is_humongous()) {
+    if (hr->is_starts_humongous()) {
       oop obj = oop(hr->bottom());
       if (obj->is_gc_marked()) {
         obj->forward_to(obj);
@@ -357,7 +357,7 @@
         free_humongous_region(hr);
       }
     } else {
-      assert(hr->continuesHumongous(), "Invalid humongous.");
+      assert(hr->is_continues_humongous(), "Invalid humongous.");
     }
   } else {
     prepare_for_compaction(hr, hr->end());