< prev index next >

src/share/vm/gc/g1/g1ConcurrentMarkObjArrayProcessor.cpp

Print this page
rev 12666 : imported patch 8168467-use-taskentry-as-mark-stack-elem
rev 12667 : imported patch 8168467-kim-review

@@ -25,12 +25,11 @@
 #include "precompiled.hpp"
 #include "gc/g1/g1ConcurrentMark.inline.hpp"
 #include "gc/g1/g1ConcurrentMarkObjArrayProcessor.inline.hpp"
 
 void G1CMObjArrayProcessor::push_array_slice(HeapWord* what) {
-  G1TaskQueueEntry entry(what);
-  _task->push(entry);
+  _task->push(G1TaskQueueEntry::from_slice(what));
 }
 
 size_t G1CMObjArrayProcessor::process_array_slice(objArrayOop obj, HeapWord* start_from, size_t remaining) {
   size_t words_to_scan = MIN2(remaining, ObjArrayMarkingStride);
 
< prev index next >