diff --git a/compiler/control/OMROptions.cpp b/compiler/control/OMROptions.cpp index 2b4a5e622a7..352657eb414 100644 --- a/compiler/control/OMROptions.cpp +++ b/compiler/control/OMROptions.cpp @@ -1319,6 +1319,7 @@ TR::OptionTable OMR::Options::_jitOptions[] = { {"useSamplingJProfilingForInterpSampledMethods","M\tHeuristic. Use samplingJProfiling for methods sampled by interpreter", SET_OPTION_BIT(TR_UseSamplingJProfilingForInterpSampledMethods), "F", NOT_IN_SUBSET }, {"useSamplingJProfilingForLPQ", "M\tHeuristic. Use samplingJProfiling for methods from low priority queue", SET_OPTION_BIT(TR_UseSamplingJProfilingForLPQ), "F", NOT_IN_SUBSET }, {"useStrictStartupHints", "M\tStartup hints from application obeyed strictly", SET_OPTION_BIT(TR_UseStrictStartupHints), "F", NOT_IN_SUBSET}, + {"useSymbolValidationManager", "M\tUse Symbol Validation Manager for Relocatable Compile Validations", SET_OPTION_BIT(TR_UseSymbolValidationManager), "F", NOT_IN_SUBSET}, {"useVmTotalCpuTimeAsAbstractTime", "M\tUse VmTotalCpuTime as abstractTime", SET_OPTION_BIT(TR_UseVmTotalCpuTimeAsAbstractTime), "F", NOT_IN_SUBSET }, {"varyInlinerAggressivenessWithTime", "M\tVary inliner aggressiveness with abstract time", SET_OPTION_BIT(TR_VaryInlinerAggressivenessWithTime), "F", NOT_IN_SUBSET }, {"verifyReferenceCounts", "I\tverify the sanity of object reference counts before manipulation", SET_OPTION_BIT(TR_VerifyReferenceCounts), "F"}, diff --git a/compiler/control/OMROptions.hpp b/compiler/control/OMROptions.hpp index ee2be16cbd1..78883c62703 100644 --- a/compiler/control/OMROptions.hpp +++ b/compiler/control/OMROptions.hpp @@ -234,7 +234,7 @@ enum TR_CompilationOptions TR_TraceMarkingOfHotFields = 0x00001000 + 4, TR_EnableAnnotations = 0x00002000 + 4, // change to disable when on by default TR_UnresolvedAreNotColdAtCold = 0x00004000 + 4, // cold block marker marks unresolved blocks as cold at hotness cold or less - // AVAILABLE = 0x00008000 + 4, + TR_UseSymbolValidationManager = 0x00008000 + 4, TR_EnablePIDExtension = 0x00010000 + 4, TR_GenerateCompleteInlineRanges = 0x00020000 + 4, TR_DisableInliningOfNatives = 0x00040000 + 4, diff --git a/compiler/env/TRMemory.cpp b/compiler/env/TRMemory.cpp index 2eda766f754..cc77f560c3a 100644 --- a/compiler/env/TRMemory.cpp +++ b/compiler/env/TRMemory.cpp @@ -301,7 +301,9 @@ const char * objectName[] = "Debug", "ClientSessionData", - "ROMClass" + "ROMClass", + + "SymbolValidationManager" }; diff --git a/compiler/env/TRMemory.hpp b/compiler/env/TRMemory.hpp index cda3787d41a..351145810e6 100644 --- a/compiler/env/TRMemory.hpp +++ b/compiler/env/TRMemory.hpp @@ -449,6 +449,8 @@ class TR_MemoryBase ClientSessionData, ROMClass, + SymbolValidationManager, + NumObjectTypes, // If adding new object types above, add the corresponding names // to objectName[] array defined in TRMemory.cpp @@ -682,8 +684,6 @@ inline void * operator new[](size_t size, PERSISTENT_NEW_DECLARE) { return TR_Memory::jitPersistentAlloc(size, TR_MemoryBase::UnknownType); } - - /* * TR_ByteCodeInfo exists in an awkward situation where it seems TR_ALLOC() * would be inappropriate for the structure, despite things needing to allocate them,