RFR: 8341094: Clean up relax_verify in ClassFileParser

Coleen Phillimore coleenp at openjdk.org
Thu Nov 7 13:43:58 UTC 2024


Removed ClassFileParser::_relax_verify and cleaned up setting need_verify in the ClassFileStream code and ClassFileParser.  Wrote up how I found control to flow to this setting with -Xverify:all/none/remote settings, which become BytecodeVerificationRemote/Local in the CR comments.

Tested with tier1-4.  Valid class, field and method name testing is done through the JCK and there are CDS tests that test verification in runtime/cds/appcds/VerifierTest.java.

-------------

Commit messages:
 - 8341094: Clean up relax_verify in ClassFileParser

Changes: https://git.openjdk.org/jdk/pull/21954/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21954&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341094
  Stats: 41 lines in 4 files changed: 2 ins; 31 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/21954.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21954/head:pull/21954

PR: https://git.openjdk.org/jdk/pull/21954


More information about the hotspot-runtime-dev mailing list