< prev index next >
src/hotspot/share/utilities/hashtable.cpp
Print this page
*** 241,253 ****
}
// 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;
}
--- 241,251 ----
*** 446,460 ****
}
}
#endif // PRODUCT
// Explicitly instantiate these types
- #if INCLUDE_ALL_GCS
template class Hashtable<nmethod*, mtGC>;
template class HashtableEntry<nmethod*, mtGC>;
template class BasicHashtable<mtGC>;
- #endif
template class Hashtable<ConstantPool*, mtClass>;
template class RehashableHashtable<Symbol*, mtSymbol>;
template class RehashableHashtable<oop, mtSymbol>;
template class Hashtable<Symbol*, mtSymbol>;
template class Hashtable<Klass*, mtClass>;
--- 444,456 ----
< prev index next >