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

Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 8
    • hotspot
    • None
    • b08
    • generic
    • generic

      The new MethodHandle implementation (LambdaForm) places "appendix argument" in the ConstantPoolCache when resolving invokedynamic and invokehandle bytecodes. It used to be stored in ConstantPoolCache::_f1 before NPG (JDK-6984705), but it is stored in the resolved_references array in ConstantPool now instead (JDK-6964458).

      The comments in ConstantPoolCache for the _f1 field missed this change, and should be updated.

            coleenp Coleen Phillimore
            kmo Krystal Mo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: