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

Clean up constant pool reflection native code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 25
    • core-libs
    • None

      jdk.internal.reflect.ConstantPool methods are confusing: they are passing in the "unused" and "object" around, and some of the methods mess them up, like getSize0. We should eliminate the argument that passes the constantPoolOop and consistently let VM use the c++ function that fetches the oop. Credit to [~iklam] for finding this.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: