hotspot/src/share/vm/gc/shared/cardGeneration.cpp
changeset 35492 c8c0273e6b91
parent 35061 be6025ebffea
child 37073 c39d0903390b
equal deleted inserted replaced
35491:663c609dfeee 35492:c8c0273e6b91
   129     success = grow_by(aligned_bytes);
   129     success = grow_by(aligned_bytes);
   130   }
   130   }
   131   if (!success) {
   131   if (!success) {
   132     success = grow_to_reserved();
   132     success = grow_to_reserved();
   133   }
   133   }
   134   if (success && GC_locker::is_active_and_needs_gc()) {
   134   if (success && GCLocker::is_active_and_needs_gc()) {
   135     log_trace(gc, heap)("Garbage collection disabled, expanded heap instead");
   135     log_trace(gc, heap)("Garbage collection disabled, expanded heap instead");
   136   }
   136   }
   137 
   137 
   138   return success;
   138   return success;
   139 }
   139 }