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

[JVMCI] Resolution of bootstrap methods with int[] static arguments

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • hotspot
    • b17

      Currently, jdk.vm.ci.meta.ConstantPool.lookupBootstrapMethodInvocation does not support static arguments of type int[].

      Supporting those static arguments allows to correctly lookup the BootstrapMethodInvocation of some DynamicConstant.

      To lookup the constant at the index in the static arguments index list, an overloaded version of this method is required:

      /**
       * Gets the constant pool index of the pool entry associated with the
       * index in the static arguments list of a bootstrap method.
       *
       * @param index a constant pool index
       * @return the constant pool index associated with the static argument
       */
      int bootstrapArgumentIndexAt(int index)

            scoppey Sacha Coppey
            scoppey Sacha Coppey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: