< prev index next >

src/hotspot/share/memory/metaspaceShared.cpp

Print this page

@@ -62,11 +62,11 @@
 #include "runtime/vmThread.hpp"
 #include "runtime/vm_operations.hpp"
 #include "utilities/align.hpp"
 #include "utilities/bitMap.hpp"
 #include "utilities/defaultStream.hpp"
-#include "utilities/hashtable.hpp"
+#include "utilities/hashtable.inline.hpp"
 #if INCLUDE_G1GC
 #include "gc/g1/g1CollectedHeap.hpp"
 #endif
 
 ReservedSpace MetaspaceShared::_shared_rs;

@@ -1069,12 +1069,11 @@
 
 class ArchiveCompactor : AllStatic {
   static DumpAllocStats* _alloc_stats;
   static SortedSymbolClosure* _ssc;
 
-  typedef KVHashtable<
-      address, address> RelocationTable;
+  typedef KVHashtable<address, address, mtInternal> RelocationTable;
   static RelocationTable* _new_loc_table;
 
 public:
   static void initialize() {
     _alloc_stats = new(ResourceObj::C_HEAP, mtInternal)DumpAllocStats;
< prev index next >