1.1 --- a/src/share/vm/runtime/arguments.cpp Tue May 10 12:15:20 2016 -0700 1.2 +++ b/src/share/vm/runtime/arguments.cpp Mon May 16 14:01:31 2016 -0400 1.3 @@ -3721,6 +3721,14 @@ 1.4 1.5 void Arguments::set_shared_spaces_flags() { 1.6 if (DumpSharedSpaces) { 1.7 + if (FailOverToOldVerifier) { 1.8 + // Don't fall back to the old verifier on verification failure. If a 1.9 + // class fails verification with the split verifier, it might fail the 1.10 + // CDS runtime verifier constraint check. In that case, we don't want 1.11 + // to share the class. We only archive classes that pass the split verifier. 1.12 + FLAG_SET_DEFAULT(FailOverToOldVerifier, false); 1.13 + } 1.14 + 1.15 if (RequireSharedSpaces) { 1.16 warning("cannot dump shared archive while using shared archive"); 1.17 }