Withdrawn: 8333151: Investigate if the Hotspot Arena chunk pools still make sense
duke
duke at openjdk.org
Thu May 1 17:40:01 UTC 2025
On Wed, 31 Jul 2024 23:14:41 GMT, Afshin Zafari <azafari at openjdk.org> wrote:
> Using `ChunkPool` or not is investigated in this PR based on time and memory consumption.
> Based on the tests using ChunkPool shows no better speed nor memory footprint.
> Memory usage is taken from RSS reports of Linux API. (GHA tests for non-linux platforms fail)
> These improvements should be confirmed also in more related micro-benchmarks.
> This PR is created only to receive feedbacks on the measurements and comparisons.
> Anyway, since the purpose of the PR is investigation only, it won't be merged to the mainline.
> Sample output:
>
> Total time, no pool, alloc: 190, free: 1
> Total time, no pool, alloc: 68, free: 1
> Total time, no pool, alloc: 56, free: 1
> Total time, no pool, alloc: 36, free: 1
> Total time, no pool, alloc: 37, free: 1
> Total time, with pool, alloc: 201, free: 12
> Total time, with pool, alloc: 190, free: 13
> Total time, with pool, alloc: 189, free: 13
> Total time, with pool, alloc: 190, free: 13
> Total time, with pool, alloc: 189, free: 13
>
> RSS(KB): no-pool= 14524, pool= 735464, diff=-720940
> RSS(KB): no-pool= 480, pool= 34840, diff=-34360
> RSS(KB): no-pool= 2560, pool= 22036, diff=-19476
> RSS(KB): no-pool= 128, pool= 21580, diff=-21452
> RSS(KB): no-pool= -28, pool= 7732, diff=-7760
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/20411
More information about the hotspot-runtime-dev
mailing list