diff --git a/compiler/compile/OMRSymbolReferenceTable.cpp b/compiler/compile/OMRSymbolReferenceTable.cpp index 050aeefaf3e..95330fdac67 100644 --- a/compiler/compile/OMRSymbolReferenceTable.cpp +++ b/compiler/compile/OMRSymbolReferenceTable.cpp @@ -102,8 +102,6 @@ OMR::SymbolReferenceTable::SymbolReferenceTable(size_t sizeHint, TR::Compilation _numInternalPointers(0), _ObjectNewInstanceImplSymRef(0), _knownObjectSymrefsByObjectIndex(comp->trMemory()), - _unsafeSymRefs(0), - _unsafeVolatileSymRefs(0), _availableAutos(comp->trMemory()), _vtableEntrySymbolRefs(comp->trMemory()), _classLoaderSymbolRefs(comp->trMemory()), diff --git a/compiler/compile/OMRSymbolReferenceTable.hpp b/compiler/compile/OMRSymbolReferenceTable.hpp index 48f551a1ef7..707edca09c3 100644 --- a/compiler/compile/OMRSymbolReferenceTable.hpp +++ b/compiler/compile/OMRSymbolReferenceTable.hpp @@ -941,8 +941,7 @@ class SymbolReferenceTable TR_Array _knownObjectSymrefsByObjectIndex; - TR_Array * _unsafeSymRefs; - TR_Array * _unsafeVolatileSymRefs; + TR_Array * _unsafeSymRefs[TR::Symbol::LastMemoryOrdering+1] = {}; List _availableAutos; List _vtableEntrySymbolRefs;