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

Refactor StackMapTable constructor and StackMapReader

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • b11

      Changes to the StackMapTable will result in _frame_count not necessarily being equal to the number of frames reported by a classfile. Additionally, the StackMapTable uses redundant information that can be derived from the StackMapReader which itself has a design that does not align with other readers in the code base.

      Caching frequently used data like the previous and current frame in the StackMapReader will help to simplify the constructor for StackMapTable as well as StackMapReader::next().

            matsaave Matias Saavedra Silva
            matsaave Matias Saavedra Silva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: