RFR: JDK-8269651: ZGC: Optimize away gc locker in mark start

Per Liden pliden at openjdk.java.net
Wed Jun 30 12:45:02 UTC 2021


On Wed, 30 Jun 2021 11:58:56 GMT, Hamlin Li <mli at openjdk.org> wrote:

> Currently, ZGC involves gc locker in mark-start and relocate-start.
> It seems gc locker in mark-start is not necessary anymore.
> This is to remove this uncessary(??) gc locker before further optimization is discussed.

Sorry, but we can't do this. The GC locker needs to be honored any time the good/bad mask is changed, so both MarkStart and RelocateStart still needs it.

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

Changes requested by pliden (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4638


More information about the hotspot-gc-dev mailing list