> This PR proposes to improve the performance of the newly integrated confined > arena cache. Confined arenas now remember the platform pool array and the > pool array index used for pool acquisition. Upon closing the arena, the pool > can be returned (in most cases) directly to the correct index in the confined > arena cache. > > If the opportunistic pool index is occupied, the logic falls back to the > regular path, which scans the array for an empty slot. > > The PR additionally proposes to add a test to make sure the unusual release > path works correctly. > > --------- > - [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: Use int for poolSp ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32766/files - new: https://git.openjdk.org/jdk/pull/32766/files/100d043c..5f181ef5 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32766&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32766&range=00-01 Stats: 25 lines in 4 files changed: 4 ins; 0 del; 21 mod Patch: https://git.openjdk.org/jdk/pull/32766.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32766/head:pull/32766 PR: https://git.openjdk.org/jdk/pull/32766
