Skip to content

[GR-64831] Base-relative code pointers in reflection accessors. #11732

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 2 commits into from
Jul 22, 2025

Conversation

graalvmbot
Copy link
Collaborator

Besides adding base-relative code pointers for reflection, this is a cleanup which:

  • Introduces a common word type for code offsets and addresses
  • Unifies redundant code paths in NativeImageHeapWriter
  • Adds a stub at the start of the code section to ensure that offset 0 or the base address is not valid and can be tested for

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 22, 2025
@graalvmbot graalvmbot merged commit 5b3ee38 into master Jul 22, 2025
13 checks passed
@graalvmbot graalvmbot deleted the ph/GR-64831 branch July 22, 2025 22:03
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.

2 participants