diff -r bfb419c66ae9 -r a4cdca87152b src/hotspot/share/gc/z/zPageCache.hpp --- a/src/hotspot/share/gc/z/zPageCache.hpp Mon Oct 28 11:26:53 2019 +0100 +++ b/src/hotspot/share/gc/z/zPageCache.hpp Mon Oct 28 11:27:27 2019 +0100 @@ -71,7 +71,7 @@ void flush(ZPageCacheFlushClosure* cl, ZList* to); - template void pages_do(Closure* cl) const; + void pages_do(ZPageClosure* cl) const; }; #endif // SHARE_GC_Z_ZPAGECACHE_HPP