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

C2: Remove the control input of LoadKlassNode and LoadNKlassNode

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • b10

      The only place where they are created with a control input is at Parse::array_store_check(), the reason given is

      // We are allowed to use the constant type only if cast succeeded

      But this seems incorrect, the load from the constant type can be done regardless, and it will be constant-folded.

            qamai Quan Anh Mai
            qamai Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: