[JVMCI] remove final and stable field handling from ConstantReflectionProvider

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: