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

[lworld] Improve C1 ValueNumbering for flattened fields

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot

      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.

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

              Created:
              Updated: