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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 26
    • 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.

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

              Created:
              Updated:
              Resolved: