Skip to content

[GR-62356] Replace ASM in compiler with ClassFile API #10758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2025
Merged

Conversation

graalvmbot
Copy link
Collaborator

This PR replaces ASM usage with ClassFile API in Graal unit tests. There are three kind of usages:

  1. static analysis: see jdk.graal.compiler.core.test.OptionsVerifierTest
  2. bytecode manipulation: see jdk.graal.compiler.replacements.test.UnsafeObjectReplacementsTest
  3. class construction: all the rest

CustomizedBytecodePatternTest is now an interface and allows multiple definition in subclass, see jdk.graal.compiler.core.test.ResolveDynamicConstantTest

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 25, 2025
@mur47x111
Copy link
Member

@liach could you please review this PR and see if there is anything that can be improved?

@graalvmbot graalvmbot force-pushed the yz/GR-62356 branch 2 times, most recently from ed854dc to 1d30c13 Compare May 15, 2025 10:42
@graalvmbot graalvmbot force-pushed the yz/GR-62356 branch 2 times, most recently from ce999d7 to a07044e Compare May 16, 2025 21:53
@graalvmbot graalvmbot changed the title [GR-62356] Replace ASM with ClassFile API [GR-62356] Replace ASM in compiler with ClassFile API May 20, 2025
@graalvmbot graalvmbot force-pushed the yz/GR-62356 branch 7 times, most recently from fe12d0b to 9b0749f Compare June 15, 2025 07:53
@graalvmbot graalvmbot merged commit bad63e5 into master Jun 15, 2025
13 checks passed
@graalvmbot graalvmbot deleted the yz/GR-62356 branch June 15, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants