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

Support for CP String patching #8460

Merged
merged 3 commits into from
Feb 8, 2020

Commits on Feb 6, 2020

  1. Support CP String patching

    - New J9ClassPatchMap structure to store patching info
    - Update defineClassCommon code to accept J9ClassPatchMap
    - Patch RAM constantpool before returing class object
    
    Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
    fengxue-IS committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    573628b View commit details
    Browse the repository at this point in the history
  2. Search RAM CP for identical String entries to patch

    For each patch object, apply to all matching String entries in the constantpool
    
    Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
    fengxue-IS committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    cd81472 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Add assert on CP patch type check

    - Only allow String CP entries to be patched
    - Remove redundant VMAccess call when setting OOM exception
    
    Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
    fengxue-IS committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    99754a9 View commit details
    Browse the repository at this point in the history