mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8138588: VerifyMergedCPBytecodes option cleanup needed
Reviewed-by: hseigel, dcubed, sspitsyn
This commit is contained in:
parent
a7f46919ff
commit
7d4e86be3b
4 changed files with 4 additions and 6 deletions
|
@ -1452,7 +1452,8 @@ jvmtiError VM_RedefineClasses::load_new_class_versions(TRAPS) {
|
|||
}
|
||||
}
|
||||
|
||||
if (VerifyMergedCPBytecodes) {
|
||||
#ifdef ASSERT
|
||||
{
|
||||
// verify what we have done during constant pool merging
|
||||
{
|
||||
RedefineVerifyMark rvm(the_class, scratch_class, state);
|
||||
|
@ -1472,6 +1473,7 @@ jvmtiError VM_RedefineClasses::load_new_class_versions(TRAPS) {
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif // ASSERT
|
||||
|
||||
Rewriter::rewrite(scratch_class, THREAD);
|
||||
if (!HAS_PENDING_EXCEPTION) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue