Skip to content

[GR-62143] Preserve all fields in the preserve mode. #11183

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented May 13, 2025

This PR:

  1. Enables field registration for -H:Preserve=.
  2. Omits registration of method of super classes as they are anyhow traversed in -H:Preserve=.
  3. Sorts classes ascending from the deepest in the class hierarchy so fields of subtypes don't have to be traversed at all.

On "Hello, World!" before this PR:

[2/8] Performing analysis...  [*****]                                                                   (24.7s @ 8.72GB)

and after

[2/8] Performing analysis...  [*****]                                                                   (29.4s @ 5.25GB)

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 13, 2025
@graalvmbot graalvmbot force-pushed the vj/GR-62143-preserve-field-registration branch 4 times, most recently from f811b36 to 8f98a0e Compare May 15, 2025 10:22
@graalvmbot graalvmbot force-pushed the vj/GR-62143-preserve-field-registration branch from 8f98a0e to 5985408 Compare May 16, 2025 12:53
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