src/hotspot/share/memory/metaspaceShared.cpp
changeset 52361 cefc50af3ee7
parent 52314 e53af5fa0dae
child 52402 72d4e10305b9
--- a/src/hotspot/share/memory/metaspaceShared.cpp	Wed Oct 31 13:58:15 2018 -0700
+++ b/src/hotspot/share/memory/metaspaceShared.cpp	Wed Oct 31 14:00:51 2018 -0700
@@ -1645,13 +1645,8 @@
       ClassLoaderDataGraph::unlocked_loaded_classes_do(&check_closure);
     } while (check_closure.made_progress());
 
-    if (IgnoreUnverifiableClassesDuringDump) {
-      // IgnoreUnverifiableClassesDuringDump is enabled by default.
-      // Unverifiable classes will not be included in the CDS archive.
-      SystemDictionary::remove_classes_in_error_state();
-    } else {
-      vm_exit_during_cds_dumping("Please remove the unverifiable classes from your class list and try again");
-    }
+    // Unverifiable classes will not be included in the CDS archive.
+    SystemDictionary::remove_classes_in_error_state();
   }
 }