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

Revisit resource arena allocations in C2

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P2 P2
    • 25
    • 21, 24
    • hotspot

      Recent changes like JDK-8325672, JDK-8302670, JDK-8336999 and JDK-8336095 increased the amount of allocations in the 'comp_arena' which might have a negative impact on footprint because memory is only released once the compilation finished. We should revisit this. See discussion here:
      https://github.com/openjdk/jdk/pull/20297#pullrequestreview-2193709471

      "We should probably create a dedicated arena for each Phase, so that the memory can be released after each phase, and re-used properly with the next phase. That could reduce memory footprint."

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

              Created:
              Updated: