diff -r 88ec5fca7726 -r 34fe70d22e9c src/hotspot/share/gc/g1/g1Arguments.cpp --- a/src/hotspot/share/gc/g1/g1Arguments.cpp Fri Dec 01 11:40:39 2017 +0530 +++ b/src/hotspot/share/gc/g1/g1Arguments.cpp Fri Dec 01 08:56:22 2017 +0100 @@ -26,6 +26,7 @@ #include "gc/g1/g1Arguments.hpp" #include "gc/g1/g1CollectedHeap.inline.hpp" #include "gc/g1/g1CollectorPolicy.hpp" +#include "gc/g1/g1HeapVerifier.hpp" #include "gc/g1/heapRegion.hpp" #include "gc/shared/gcArguments.inline.hpp" #include "runtime/globals.hpp" @@ -104,6 +105,12 @@ #endif } +bool G1Arguments::parse_verification_type(const char* type) { + G1CollectedHeap::heap()->verifier()->parse_verification_type(type); + // Always return true because we want to parse all values. + return true; +} + CollectedHeap* G1Arguments::create_heap() { return create_heap_with_policy(); }