Remove Method::_method_size field

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b89

        method_size() can be recoded as pseudo code: sizeof(Method)/wordSize + is_native() ? 2 : 0; The field is leftover when there were bytecodes in Method*.

        This change is necessary to undo the 4-byte increase of Method footprint on 32-bit platforms by JDK-8135085

        There's no impact on 64-bit VMs.

              Assignee:
              Yumin Qi
              Reporter:
              Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: