diff --git a/src/hotspot/share/gc/g1/g1NUMA.hpp b/src/hotspot/share/gc/g1/g1NUMA.hpp
index 2bfad205b10..83117b8ec14 100644
--- a/src/hotspot/share/gc/g1/g1NUMA.hpp
+++ b/src/hotspot/share/gc/g1/g1NUMA.hpp
@@ -61,9 +61,6 @@ class G1NUMA: public CHeapObj<mtGC> {
// Precondition: node_id is an active node id.
inline uint index_of_node_id(int node_id) const;
- // Creates node id and node index mapping table of _node_id_to_index_map.
- void init_node_id_to_index_map(const int* node_ids, uint num_node_ids);
-
static G1NUMA* _inst;
G1NUMA();