--- old/src/share/vm/memory/cardTableModRefBS.cpp 2015-04-01 13:43:47.851753294 +0200 +++ new/src/share/vm/memory/cardTableModRefBS.cpp 2015-04-01 13:43:47.755753298 +0200 @@ -23,10 +23,10 @@ */ #include "precompiled.hpp" +#include "gc_interface/collectedHeap.hpp" #include "memory/allocation.inline.hpp" #include "memory/cardTableModRefBS.inline.hpp" #include "memory/cardTableRS.hpp" -#include "memory/sharedHeap.hpp" #include "memory/space.hpp" #include "memory/space.inline.hpp" #include "memory/universe.hpp" @@ -450,8 +450,8 @@ // This is an example of where n_par_threads() is used instead // of workers()->active_workers(). n_par_threads can be set to 0 to // turn off parallelism. For example when this code is called as - // part of verification and SharedHeap::process_roots() is being - // used, then n_par_threads() may have been set to 0. active_workers + // part of verification during root processing then n_par_threads() + // may have been set to 0. active_workers // is not overloaded with the meaning that it is a switch to disable // parallelism and so keeps the meaning of the number of // active gc workers. If parallelism has not been shut off by