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

Flattenable field concept needs some cleanup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-valhalla
    • hotspot

      The notion of flattenable field has evolved over time with the different models the Valhalla project has implemented. From the access flag JVM_ACC_FLATTENABLE generated by javac, then the JVM_ACC_FIELD_FLATTENABLE VM internal flag computed from the L/Q model, and now in LW3, the notion of flattenable field is quite obsolete (a field with an inline type is always flattenable, no side bit/information, the type of the field says everything).
      The current code in the JVM still has remains of the different models and their different implementations, leading to duplications of code or bits to encode the flattenable nature of a field.
      It's time to cleanup the code and remove the traces of the old models.

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

              Created:
              Updated:
              Resolved: