mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
6830542: Performance: JVM_DefineClass already verified
Reviewed-by: kamg, phh
This commit is contained in:
parent
c04761e799
commit
488e99efd8
19 changed files with 103 additions and 34 deletions
|
@ -933,7 +933,7 @@ jvmtiError VM_RedefineClasses::load_new_class_versions(TRAPS) {
|
|||
// description.
|
||||
RedefineVerifyMark rvm(&the_class, &scratch_class, state);
|
||||
Verifier::verify(
|
||||
scratch_class, Verifier::ThrowException, THREAD);
|
||||
scratch_class, Verifier::ThrowException, true, THREAD);
|
||||
}
|
||||
|
||||
if (HAS_PENDING_EXCEPTION) {
|
||||
|
@ -959,7 +959,7 @@ jvmtiError VM_RedefineClasses::load_new_class_versions(TRAPS) {
|
|||
// verify what we have done during constant pool merging
|
||||
{
|
||||
RedefineVerifyMark rvm(&the_class, &scratch_class, state);
|
||||
Verifier::verify(scratch_class, Verifier::ThrowException, THREAD);
|
||||
Verifier::verify(scratch_class, Verifier::ThrowException, true, THREAD);
|
||||
}
|
||||
|
||||
if (HAS_PENDING_EXCEPTION) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue