--- old/src/hotspot/share/gc/shared/oopStorage.hpp 2018-04-05 23:04:40.866066873 +0200 +++ new/src/hotspot/share/gc/shared/oopStorage.hpp 2018-04-05 23:04:40.646066881 +0200 @@ -146,11 +146,9 @@ template inline void weak_oops_do(IsAliveClosure* is_alive, Closure* closure); -#if INCLUDE_ALL_GCS // Parallel iteration is for the exclusive use of the GC. // Other clients must use serial iteration. template class ParState; -#endif // INCLUDE_ALL_GCS // Block cleanup functions are for the exclusive use of the GC. // Both stop deleting if there is an in-progress concurrent iteration. @@ -244,10 +242,8 @@ template static bool iterate_impl(F f, Storage* storage); -#if INCLUDE_ALL_GCS // Implementation support for parallel iteration class BasicParState; -#endif // INCLUDE_ALL_GCS // Wrapper for OopClosure-style function, so it can be used with // iterate. Assume p is of type oop*. Then cl->do_oop(p) must be a