< prev index next >

src/share/vm/gc_implementation/g1/g1StringDedup.cpp

Print this page

        

@@ -140,12 +140,12 @@
     G1StringDedupTable::unlink_or_oops_do(&_cl, worker_id);
 
     double queue_fixup_time_sec = table_fixup_start - queue_fixup_start;
     double table_fixup_time_sec = os::elapsedTime() - table_fixup_start;
     G1CollectorPolicy* g1p = G1CollectedHeap::heap()->g1_policy();
-    g1p->phase_times()->record_time(G1GCPhaseTimes::StringDedupQueueFixup, worker_id, queue_fixup_time_sec);
-    g1p->phase_times()->record_time(G1GCPhaseTimes::StringDedupTableFixup, worker_id, table_fixup_time_sec);
+    g1p->phase_times()->record_time_secs(G1GCPhaseTimes::StringDedupQueueFixup, worker_id, queue_fixup_time_sec);
+    g1p->phase_times()->record_time_secs(G1GCPhaseTimes::StringDedupTableFixup, worker_id, table_fixup_time_sec);
   }
 };
 
 void G1StringDedup::unlink_or_oops_do(BoolObjectClosure* is_alive, OopClosure* keep_alive, bool allow_resize_and_rehash) {
   assert(is_enabled(), "String deduplication not enabled");
< prev index next >