RFR: 8331691: Generational ZGC: Use ZLocker uniformly [v2]

Guoxiong Li gli at openjdk.org
Fri May 10 07:55:03 UTC 2024


On Mon, 6 May 2024 08:08:53 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> I think the old code was nicer to read in those places where the lock were used.

I prefer to remove `ZDriverLocker/ZDriverUnlocker` so that the classes which have similar feature can be reduced and uniform.

> If you still want to extract out the ZUnlocker part, maybe you code write a version that retained the `ZDriverLocker/ZDriverUnlocker` classes by implementing something like this:

If nobody agrees with my idea, I will obey your opinion and change the code as you stated.

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

PR Comment: https://git.openjdk.org/jdk/pull/19092#issuecomment-2104117703


More information about the hotspot-gc-dev mailing list