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

[JVMCI] remove final and stable field handling from ConstantReflectionProvider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • hotspot
    • b122

      The following methods should be removed from ConstantReflectionProvider:
      - readConstantArrayElement
      - readConstantArrayElementForOffset
      - readConstantFieldValue
      - readStableFieldValue

      These methods contain a lot of logic that clearly belongs in the compiler, not in the VM. Different compilers might even want to implement this logic differently (see e.g. JDK-8154765).

      The logic in these methods can be easily implemented using the remaining methods.

            rschatz Roland Schatz
            rschatz Roland Schatz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: