--- old/src/hotspot/share/utilities/hashtable.cpp 2018-04-27 15:30:12.974201901 +0200 +++ new/src/hotspot/share/utilities/hashtable.cpp 2018-04-27 15:30:12.726201910 +0200 @@ -243,9 +243,7 @@ // For oops and Strings the size of the literal is interesting. For other types, nobody cares. static int literal_size(ConstantPool*) { return 0; } static int literal_size(Klass*) { return 0; } -#if INCLUDE_ALL_GCS static int literal_size(nmethod*) { return 0; } -#endif static int literal_size(Symbol *symbol) { return symbol->size() * HeapWordSize; @@ -448,11 +446,9 @@ #endif // PRODUCT // Explicitly instantiate these types -#if INCLUDE_ALL_GCS template class Hashtable; template class HashtableEntry; template class BasicHashtable; -#endif template class Hashtable; template class RehashableHashtable; template class RehashableHashtable;