RFR: 8319955: Improve dependencies removal during class unloading

Erik Österlund eosterlund at openjdk.org
Tue Nov 14 13:28:30 UTC 2023


On Mon, 13 Nov 2023 18:52:47 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this performance improvement to dependency removal during class unloading: instead of moving the dependencies item by item via a `cmpxchg`, batch this operation.
> 
> This makes that part of class unloading ~7x faster in my measurements (class unloading stress test, loading/unloading 6k classes).
> 
> Testing: tier1-7
> 
> Thanks,
>   Thomas

Looks good.

-------------

Marked as reviewed by eosterlund (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16639#pullrequestreview-1729726128


More information about the hotspot-gc-dev mailing list