src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp
changeset 49333 489f1dd40582
parent 49164 7e958a8ebcd3
child 49347 edb65305d3ac
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp	Fri Mar 02 17:33:59 2018 -0800
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp	Sat Mar 03 23:56:08 2018 -0500
@@ -85,12 +85,12 @@
 }
 
 inline void G1CollectedHeap::reset_gc_time_stamp() {
-  assert_at_safepoint(true);
+  assert_at_safepoint_on_vm_thread();
   _gc_time_stamp = 0;
 }
 
 inline void G1CollectedHeap::increment_gc_time_stamp() {
-  assert_at_safepoint(true);
+  assert_at_safepoint_on_vm_thread();
   ++_gc_time_stamp;
 }