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

Methods to access class depth and flags #19473

Commits on May 8, 2024

  1. Correct typos mentioning classDepthAndFlags field

    Several methods in the JIT compiler use the name of the
    classDepthAndFlags field of J9Class in their names, but they incorrectly
    refer to it as classAndDepthFlags.  This commit corrects the
    typographical errors in the naming of those methods, but keeps one
    instance that is used upstream in J9_PROJECT_SPECIFIC code in OMR until
    that can be removed.
    hzongaro committed May 8, 2024
    Configuration menu
    Copy the full SHA
    f5bf9ef View commit details
    Browse the repository at this point in the history
  2. Define methods to generate IL for accessing classDepthAndFlags field

    Various places in the compiler need to generate IL to load the
    classDepthAndFlags field of j9class.  Those locations need to take into
    account whether the target platform is 32-bit or 64-bit, as it affects
    the width of the field.  Introducing methods in TR_J9VMBase to load
    the field and potentially test the settings of bits in it hides some of
    that.
    hzongaro committed May 8, 2024
    Configuration menu
    Copy the full SHA
    8673620 View commit details
    Browse the repository at this point in the history