hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 3820 0a8fbbe180db
parent 3811 e8139278d5d7
child 3821 847fddcb639b
equal deleted inserted replaced
3814:91f531a11872 3820:0a8fbbe180db
   108 bool instanceKlass::verify_code(
   108 bool instanceKlass::verify_code(
   109     instanceKlassHandle this_oop, bool throw_verifyerror, TRAPS) {
   109     instanceKlassHandle this_oop, bool throw_verifyerror, TRAPS) {
   110   // 1) Verify the bytecodes
   110   // 1) Verify the bytecodes
   111   Verifier::Mode mode =
   111   Verifier::Mode mode =
   112     throw_verifyerror ? Verifier::ThrowException : Verifier::NoException;
   112     throw_verifyerror ? Verifier::ThrowException : Verifier::NoException;
   113   return Verifier::verify(this_oop, mode, CHECK_false);
   113   return Verifier::verify(this_oop, mode, this_oop->should_verify_class(), CHECK_false);
   114 }
   114 }
   115 
   115 
   116 
   116 
   117 // Used exclusively by the shared spaces dump mechanism to prevent
   117 // Used exclusively by the shared spaces dump mechanism to prevent
   118 // classes mapped into the shared regions in new VMs from appearing linked.
   118 // classes mapped into the shared regions in new VMs from appearing linked.