hotspot/src/share/vm/gc/g1/concurrentMark.inline.hpp
changeset 33733 d2d53d3de9cc
parent 33105 294e48b4f704
child 33740 bede37d20aaf
--- a/hotspot/src/share/vm/gc/g1/concurrentMark.inline.hpp	Thu Oct 29 21:38:25 2015 -0400
+++ b/hotspot/src/share/vm/gc/g1/concurrentMark.inline.hpp	Fri Oct 30 06:46:10 2015 +0100
@@ -263,12 +263,6 @@
     bool success = _task_queue->push(obj);
     assert(success, "invariant");
   }
-
-  statsOnly( size_t tmp_size = (size_t)_task_queue->size();
-             if (tmp_size > _local_max_size) {
-               _local_max_size = tmp_size;
-             }
-             ++_local_pushes );
 }
 
 inline bool CMTask::is_below_finger(oop obj, HeapWord* global_finger) const {
@@ -317,7 +311,6 @@
   if (scan) {
     obj->oop_iterate(_cm_oop_closure);
   }
-  statsOnly( ++_objs_scanned );
   check_limits();
 }