Integrated: 8319955: Improve dependencies removal during class unloading

Thomas Schatzl tschatzl at openjdk.org
Wed Nov 15 08:36:42 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

This pull request has now been integrated.

Changeset: fbe19378
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fbe19378c38decaff221f6570d1b78bb801a5e5d
Stats:     42 lines in 2 files changed: 38 ins; 2 del; 2 mod

8319955: Improve dependencies removal during class unloading

Reviewed-by: dholmes, eosterlund

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

PR: https://git.openjdk.org/jdk/pull/16639


More information about the hotspot-gc-dev mailing list