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

Keep Method flags in one byte

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8u181, 8u191, 8u192
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      generic

      Description

      See JDK-8055008 and the fix for jdk8u
      http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/c9b7abadf150

      The change added "_running_emcp" bit field to Method class. As a result, however, we are using total 9 bits of bit-fields.

      We need to keep the Method flags in one byte. Otherwise you will see the increased memory usage (i.e. 1~4 bytes increased per Method)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jyu Jin-Hwan Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: