Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8301993 Obsolete the CP Cache
  3. JDK-8301997

Move method resolution information out of the cpCache

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 21
    • hotspot
    • b24

      With invokedynamic and field resolution removed from cpCache, there's no reason to have method resolution use this indices, f1, f2 and flags struct. We can save just the information needed for the method resolution, which might make the structure smaller.

      Also useful would be the special case of invokeinterface using f2 as Method* where the rest of the invokes use f1 as the Method*.

      We could maybe split out invokeinterface from invokevirtual, invokespecial and invokestatic. TBD.

            matsaave Matias Saavedra Silva
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: