src/hotspot/share/runtime/arguments.cpp
branchepsilon-gc-branch
changeset 56452 ec435d4e0673
parent 56448 76d86de267b9
parent 49769 b8c9bec06921
child 56489 016b77c3734a
--- a/src/hotspot/share/runtime/arguments.cpp	Wed Apr 18 12:40:11 2018 +0200
+++ b/src/hotspot/share/runtime/arguments.cpp	Wed Apr 18 13:54:07 2018 +0200
@@ -3377,6 +3377,12 @@
     // Disable biased locking now as it interferes with the clean up of
     // the archived Klasses and Java string objects (at dump time only).
     UseBiasedLocking = false;
+
+    // Always verify non-system classes during CDS dump
+    if (!BytecodeVerificationRemote) {
+      BytecodeVerificationRemote = true;
+      log_info(cds)("All non-system classes will be verified (-Xverify:remote) during CDS dump time.");
+    }
   }
   if (UseSharedSpaces && patch_mod_javabase) {
     no_shared_spaces("CDS is disabled when " JAVA_BASE_NAME " module is patched.");