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."
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."
- relates to
-
JDK-8336095 Use-after-free in Superword leads to memory corruption
- Resolved
-
JDK-8302670 use-after-free related to PhaseIterGVN interaction with Unique_Node_List and Node_Stack
- Resolved
-
JDK-8328085 C2: Use after free in PhaseChaitin::Register_Allocate()
- Resolved
-
JDK-8336999 Verification for resource area allocated data structures in C2
- Resolved
-
JDK-8325672 C2: allocate PhaseIdealLoop::_loop_or_ctrl from C->comp_arena()
- Resolved