--- old/src/share/vm/gc/g1/g1RootProcessor.hpp 2015-05-20 11:05:17.545924373 +0200 +++ new/src/share/vm/gc/g1/g1RootProcessor.hpp 2015-05-20 11:05:17.385918967 +0200 @@ -85,7 +85,7 @@ uint worker_i); public: - G1RootProcessor(G1CollectedHeap* g1h); + G1RootProcessor(G1CollectedHeap* g1h, uint n_workers); // Apply closures to the strongly and weakly reachable roots in the system // in a single pass. @@ -114,8 +114,8 @@ OopClosure* scan_non_heap_weak_roots, uint worker_i); - // Inform the root processor about the number of worker threads - void set_num_workers(uint active_workers); + // Number of worker threads used by the root processor. + uint n_workers() const; }; #endif // SHARE_VM_GC_G1_G1ROOTPROCESSOR_HPP