mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8219579: Remove redundant signature parsing from the verifier
Change verifier signature checking into asserts because ClassFileParser checks signatures for files being verified. Reviewed-by: lfoltan, coleenp, redestad, dholmes
This commit is contained in:
parent
77832350f1
commit
cace9d1c8e
6 changed files with 520 additions and 39 deletions
|
@ -3918,6 +3918,13 @@ jint Arguments::apply_ergo() {
|
|||
warning("Setting CompressedClassSpaceSize has no effect when compressed class pointers are not used");
|
||||
}
|
||||
|
||||
// Treat the odd case where local verification is enabled but remote
|
||||
// verification is not as if both were enabled.
|
||||
if (BytecodeVerificationLocal && !BytecodeVerificationRemote) {
|
||||
log_info(verification)("Turning on remote verification because local verification is on");
|
||||
FLAG_SET_DEFAULT(BytecodeVerificationRemote, true);
|
||||
}
|
||||
|
||||
#ifndef PRODUCT
|
||||
if (!LogVMOutput && FLAG_IS_DEFAULT(LogVMOutput)) {
|
||||
if (use_vm_log()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue