--- old/src/hotspot/share/gc/g1/g1RootProcessor.hpp 2018-04-19 10:05:41.002541135 +0200 +++ new/src/hotspot/share/gc/g1/g1RootProcessor.hpp 2018-04-19 10:05:40.713532226 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,6 +34,7 @@ class G1CollectedHeap; class G1EvacuationRootClosures; class G1GCPhaseTimes; +class G1ParScanThreadState; class G1RootClosures; class Monitor; class OopClosure; @@ -97,10 +98,10 @@ public: G1RootProcessor(G1CollectedHeap* g1h, uint n_workers); - // Apply closures to the strongly and weakly reachable roots in the system + // Apply correct closures from pss to the strongly and weakly reachable roots in the system // in a single pass. // Record and report timing measurements for sub phases using the worker_i - void evacuate_roots(G1EvacuationRootClosures* closures, uint worker_i); + void evacuate_roots(G1ParScanThreadState* pss, uint worker_id); // Apply oops, clds and blobs to all strongly reachable roots in the system void process_strong_roots(OopClosure* oops,