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

Verification for resource area allocated data structures in C2

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 24
    • 11, 17, 21, 23, 24
    • hotspot
    • b09

      Similar to GrowableArrayNestingCheck, we should implement a check for C2's resource allocated data structures that verifies that re-allocation happens under the same ResourceMark as the original. Otherwise, use-after-free bugs like JDK-8336095 will lead to memory corruption. Prototype attached.

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: