diff src/share/vm/utilities/hashtable.cpp @ 20494:7baf47cb97cb

8048268: G1 Code Root Migration performs poorly Summary: Replace G1CodeRootSet with a Hashtable based implementation, merge Code Root Migration phase into Code Root Scanning Reviewed-by: jmasa, brutisso, tschatzl
author mgerdin
date Fri, 29 Aug 2014 13:12:21 +0200
parents 152cf4afc11f
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/utilities/hashtable.cpp	Fri Aug 29 13:08:01 2014 +0200
+++ b/src/share/vm/utilities/hashtable.cpp	Fri Aug 29 13:12:21 2014 +0200
@@ -353,6 +353,11 @@
 
 #endif
 // 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<oopDesc*, mtSymbol>;