RFR: 8294976: test/hotspot 183 test classes use ASM [v2]

Oussama Louati duke at openjdk.org
Wed Mar 6 10:52:59 UTC 2024


> Completion of the first version of the migration for several tests.
> 
> These tests, which are now  using the classfile API mostly,  are responsible for  testing various aspects including:
> 
> - Generate constant pool entries filled with method handles and method types.
> - Create numerous invokedynamic instructions with correct bootstrap methods and incorrect bootstrap methods for testing error handling and exception catching.
> - Produce many invokedynamic instructions with a specific constant pool entry.

Oussama Louati has updated the pull request incrementally with 12 additional commits since the last revision:

 - Refactor generateCPEntryData method signature
 - Delete HandleType.java as it's not used anymore
   change method signature
 - Refactor createThrowRuntimeExceptionCodeHelper method signature
 - Optimize imports and fix bugs
 - Refactor GenFullCP.java: Import cleanup and bug fixes
 - Refactor code to use ClassFile.of().parse() method in GenFullCP.java
 - Refactor generateCPEntryData method to use ClassModel and ClassFile APIs
 - refactor to remove unnecessary whitespaces
 - Refactor createThrowRuntimeExceptionCodeHelper method to use classfile API
 - Fix indentation in GenManyIndyCorrectBootstrap.java
 - ... and 2 more: https://git.openjdk.org/jdk/compare/47f24fb6...03a5e325

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17834/files
  - new: https://git.openjdk.org/jdk/pull/17834/files/47f24fb6..03a5e325

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17834&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17834&range=00-01

  Stats: 494 lines in 7 files changed: 106 ins; 104 del; 284 mod
  Patch: https://git.openjdk.org/jdk/pull/17834.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17834/head:pull/17834

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


More information about the hotspot-compiler-dev mailing list