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

Refactor Constantpool's operand array into two

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      The operands array in the constant pool is currently stored in a very "untyped" u2 array, where the first part of the u2 array is actually a sequence of u4s and the second part a sequence of BSMAttributeEntry's. We can split the array into two and wrap it inside of an BSMAttributeEntries class. This improves readability significantly and therefore increases maintainability, and is less prone to programmer error.

            jsjolen Johan Sjölen
            jsjolen Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: