On Thu, 17 Sep 2026 12:51:57 GMT, Per Minborg <[email protected]> wrote:
>> This PR proposes removing the entire internal `BufferStack` and associated >> classes and tests. Instead, we can now simply rely on a `Arena.ofConfined` >> which will provide pooling for us automatically. >> >> If integrated, this PR would imply: >> 1,511 lines removed net across 13 files compared with master: >> - 602 production-source lines >> - 909 test and benchmark lines >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Per Minborg has updated the pull request incrementally with one additional > commit since the last revision: > > Remove methods in SlicingAllocator Looks good. The only potential concern is that now downcalls compete with user code for the allocation pools. But, in the confined case the only case where this should really matter is when you are allocating inside a Java upcall, which is a bit cornery (and nothing we have ever benchmarked much). ------------- Marked as reviewed by mcimadamore (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/32924#pullrequestreview-5236087373
