< prev index next >

src/hotspot/share/gc/g1/g1MemoryNodeManager.cpp

Print this page
rev 56374 : [mq]: kab_g1numa

*** 23,33 **** */ #include "precompiled.hpp" #include "gc/g1/heapRegionType.hpp" #include "gc/g1/g1MemoryNodeManager.hpp" ! #include "gc/g1/g1NUMA.inline.hpp" G1MemoryNodeManager* G1MemoryNodeManager::_inst = NULL; const int* G1MemoryNodeManager::node_ids() const { static const int dummy_id = 0; --- 23,37 ---- */ #include "precompiled.hpp" #include "gc/g1/heapRegionType.hpp" #include "gc/g1/g1MemoryNodeManager.hpp" ! #include "gc/g1/g1NUMA.hpp" ! #include "runtime/globals.hpp" ! #include "utilities/debug.hpp" ! #include "utilities/globalDefinitions.hpp" ! #include "utilities/macros.hpp" G1MemoryNodeManager* G1MemoryNodeManager::_inst = NULL; const int* G1MemoryNodeManager::node_ids() const { static const int dummy_id = 0;
*** 66,77 **** // 3. If there are more than 1 active numa nodes. LINUX_ONLY(if (UseNUMA) { // Create G1NUMA to check current active numa nodes. G1NUMA* numa = new G1NUMA(); - numa->initialize(); - if (numa->num_active_numa_ids() > 1) { G1NUMA::set_numa(numa); _inst = new G1MemoryMultiNodeManager(numa); return _inst; } --- 70,79 ----
< prev index next >