RFR: 8319955: Improve dependencies removal during class unloading

David Holmes dholmes at openjdk.org
Tue Nov 14 12:01:31 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

Changes look good. Thanks

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-gc-dev mailing list