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

[lworld][lw3] Improve C1 ValueNumbering for flattened fields

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      JDK-8266086 fixed an issue where C1 ValueNumbering was not behaving correctly in presence of flattened fields.
      However, the fix is very conservative: whenever a flattened field is written, all fields of the holder object are invalidated in the ValueMap.
      In an ideal situation, the only fields that should be invalidated are the fields corresponding to the nested fields of the flattened field being written. Unfortunately, there's no infrastructure in place to easily identify the set of nested field related to a given flattened field. If such a feature existed, the field invalidation could be much more targeted and would avoid invalidating unrelated fields.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: