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

Remove wantToPatchClassPointer() and the hcrPatchClassPointers option #16481

Merged
merged 1 commit into from
Feb 4, 2023

Commits on Dec 15, 2022

  1. Remove wantToPatchClassPointer() and the hcrPatchClassPointers option

    These were introduced a long time ago to allow a certain change to be
    toggled. The change was to stop generating runtime assumptions for
    patching class pointers on class redefinition, and to stop generating
    slower but more easily patchable instruction sequences to allow for
    those runtime assumptions. The patching was no longer needed because
    class redefinition had been made in-place.
    
    As a result, wantToPatchClassPointer() and hcrPatchClassPointers are no
    longer necessary. They are removed, and all use sites now behave as
    though hcrPatchClassPointers is not set and wantToPatchClassPointer()
    returns false.
    jdmpapin committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    94c24ee View commit details
    Browse the repository at this point in the history