< prev index next >

src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.cpp

Print this page

        

@@ -31,11 +31,10 @@
 #include "gc_implementation/shared/mutableSpace.hpp"
 #include "memory/allocation.inline.hpp"
 #include "memory/memRegion.hpp"
 #include "memory/padded.inline.hpp"
 #include "oops/oop.inline.hpp"
-#include "oops/oop.psgc.inline.hpp"
 #include "utilities/stack.inline.hpp"
 
 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
 
 PaddedEnd<PSPromotionManager>* PSPromotionManager::_manager_array = NULL;

@@ -323,11 +322,11 @@
     // We won any races, we "own" this object.
     assert(obj == obj->forwardee(), "Sanity");
 
     _promotion_failed_info.register_copy_failure(obj->size());
 
-    obj->push_contents(this);
+    push_contents(obj);
 
     // Save the mark if needed
     PSScavenge::oop_promotion_failed(obj, obj_mark);
   }  else {
     // We lost, someone else "owns" this object
< prev index next >