Integrated: 8254562: ZGC: Remove ZMarkRootsTask

Stefan Karlsson stefank at openjdk.java.net
Tue Oct 13 09:09:16 UTC 2020


On Mon, 12 Oct 2020 08:04:52 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> After introducing concurrent stack scanning, we don't need to mark through any roots during the mark start pause.
> Remove the code.
> Note that the old code passed in `false` to `_roots(false /* visit_jvmti_weak_export */)`. This has the effect that no
> roots are visited by the iterator: void ZRootsIterator::oops_do(ZRootsIteratorClosure* cl) {
>   ZStatTimer timer(ZSubPhasePauseRoots);
>   if (_visit_jvmti_weak_export) {
>     _jvmti_weak_export.oops_do(cl);
>   }
> }

This pull request has now been integrated.

Changeset: 9d230ea8
Author:    Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9d230ea8
Stats:     88 lines in 10 files changed: 9 ins; 72 del; 7 mod

8254562: ZGC: Remove ZMarkRootsTask

Reviewed-by: pliden

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

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



More information about the hotspot-gc-dev mailing list