src/hotspot/share/gc/z/zVerify.cpp
changeset 57656 9429ecaee2e0
parent 55603 3868dde58ebb
child 57658 0022b39ae5ae
--- a/src/hotspot/share/gc/z/zVerify.cpp	Tue Aug 06 09:27:38 2019 -0400
+++ b/src/hotspot/share/gc/z/zVerify.cpp	Tue Aug 06 15:49:53 2019 +0200
@@ -143,6 +143,12 @@
   objects(verify_weaks);
 }
 
+void ZVerify::before_zoperation() {
+  // Verify strong roots
+  ZStatTimerDisable disable;
+  roots_strong();
+}
+
 void ZVerify::after_mark() {
   // Only verify strong roots and references.
   roots_and_objects(false /* verify_weaks */);