Integrated: 8353431: JFR: Sets to use hashmap instead of binary search as backend
Markus Grönlund
mgronlun at openjdk.org
Tue Apr 8 18:44:24 UTC 2025
On Tue, 1 Apr 2025 20:01:10 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
> Greetings,
>
> This enhancement is a simple set abstraction using a ResizeableResourceHashtable as a backend.
>
> It provides two specializations, JfrCHeapTraceIdSet and JfrResourceAreaTraceIdSet, both tailored for keys of type traceid.
>
> Sorted GrowableArrays used as sets have been replaced.
>
> Testing: jdk_jfr, stress testing
>
> Thanks
> Markus
This pull request has now been integrated.
Changeset: 257f817c
Author: Markus Grönlund <mgronlun at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/257f817c7fca1e8cdb0fec0e18ab9c07b19b1d13
Stats: 334 lines in 12 files changed: 224 ins; 69 del; 41 mod
8353431: JFR: Sets to use hashmap instead of binary search as backend
Reviewed-by: egahlin
-------------
PR: https://git.openjdk.org/jdk/pull/24366
More information about the hotspot-jfr-dev
mailing list