Skip to content
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

Delay AOT validation until restore under -XX:+DebugOnRestore #19316

Merged
merged 1 commit into from
Apr 18, 2024

Commits on Apr 17, 2024

  1. Delay AOT validation until restore under -XX:+DebugOnRestore

    Under -XX:+DebugOnRestore, the JIT generates FSD code. This is
    problematic for AOT as either:
    
    1. An existing SCC will fail validation, since the AOT code therein will
       not have been generated with FSD, or
    2. An unpopulated SCC will contain FSD code, which will be useless for
       any JVM that does not have FSD enabled
    
    This commit delays AOT validation until after restore; this ensures that
    AOT code from the SCC can be loaded post-restore, and that any code
    added to the SCC is maximally sharable.
    
    Signed-off-by: Irwin D'Souza <[email protected]>
    dsouzai committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    b1bcfa7 View commit details
    Browse the repository at this point in the history