hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.cpp
changeset 29079 832d35c45d0b
parent 25908 8adb2fb6fc3c
child 29081 c61eb4914428
--- a/hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.cpp	Fri Feb 13 09:48:49 2015 +0100
+++ b/hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.cpp	Fri Feb 13 10:31:52 2015 +0100
@@ -179,10 +179,10 @@
 
   GenCollectedHeap* gch = GenCollectedHeap::heap();
   GCCauseSetter gccs(gch, _gc_cause);
-  _res = gch->satisfy_failed_allocation(_size, _tlab);
-  assert(gch->is_in_reserved_or_null(_res), "result not in heap");
+  _result = gch->satisfy_failed_allocation(_word_size, _tlab);
+  assert(gch->is_in_reserved_or_null(_result), "result not in heap");
 
-  if (_res == NULL && GC_locker::is_active_and_needs_gc()) {
+  if (_result == NULL && GC_locker::is_active_and_needs_gc()) {
     set_gc_locked();
   }
 }