Skip to content

[GR-64208] Reduce virtual calls to Object and reference visitors. #11124

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
May 6, 2025

Conversation

graalvmbot
Copy link
Collaborator

  • Call reference visitors once per sequence of references (instead of once per references). This reduces the number of virtual calls significantly.
  • Visitors no longer return a boolean value to determine if visiting should continue. In the rare case that a visitor wants to stop visiting, it needs to throw an exception.
  • Use a signed value for the count in InstanceReferenceMap.
  • Prefer Pointer.toObjectNonNull() over Pointer.toObject().
  • Remove support for derived references.
  • Remove PathExhibitor.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 5, 2025
@graalvmbot graalvmbot closed this May 6, 2025
@graalvmbot graalvmbot deleted the chaeubl/GR-64208 branch May 6, 2025 06:51
@graalvmbot graalvmbot merged commit b7571b8 into master May 6, 2025
13 checks passed
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