Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8135284

Remove Method::_method_size field

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

              minqi Yumin Qi
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: