Avoid resolving constant pool entries during preimage generation in the training run

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • b21

      By design the pre-resolution of constant pool entries in the assembly phase should be controlled by the pre-resolve list generated in the training run as part of FinalImageRecipes. However, preimage may also contain some constant pool entries in resolved state. So, now there are two sources to get a pre-resolved CP entry in the assmebly phase:

      1. Through FinalImageReceipes
      2. Resolved CP entries in preimage

      This makes it difficult to trace the resolution of CP entries in the assembly phase.
      Ideally the training phase should not store any CP entry in the resolved state. It should rather pass the information about CP entries to be pre-resolved through FinalImageRecipes only.

            Assignee:
            Ashutosh Mehra
            Reporter:
            Ashutosh Mehra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: