Skip to content

Commit d1f7504

Browse files
authored
Merge pull request eclipse-omr#8056 from mpirvu/knot
Add options to control KnownObjectTable caching
2 parents f75ba27 + 24e7561 commit d1f7504

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

compiler/control/OMROptions.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,8 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
651651
"F", NOT_IN_SUBSET },
652652
{ "disableKnownObjectTable", "O\tdisable support for including heap object info in symbol references",
653653
SET_OPTION_BIT(TR_DisableKnownObjectTable), "F" },
654+
{ "disableKnownObjectTableCaching", "O\tdisable JITServer caching of known object info",
655+
SET_OPTION_BIT(TR_DisableKnownObjectTableCaching), "F" },
654656
{ "disableLastITableCache", "C\tdisable using class lastITable cache for interface dispatches",
655657
SET_OPTION_BIT(TR_DisableLastITableCache), "F" },
656658
{ "disableLeafRoutineDetection", "O\tdisable lleaf routine detection on zlinux",
@@ -1233,6 +1235,8 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
12331235
{ "enableJProfiling", "O\tenable JProfiling", SET_OPTION_BIT(TR_EnableJProfiling), "F" },
12341236
{ "enableJProfilingInProfilingCompilations",
12351237
"O\tEnable the use of jprofiling instrumentation in profiling compilations", RESET_OPTION_BIT(TR_DisableJProfilingInProfilingCompilations), "F" },
1238+
{ "enableKnownObjectTableCachingVerification", "O\tverify the cached info about known object info",
1239+
SET_OPTION_BIT(TR_EnableKnownObjectTableCachingVerification), "F" },
12361240
{ "enableLastRetrialLogging",
12371241
"O\tenable fullTrace logging for last compilation attempt. Needs to have a log defined on the command line", SET_OPTION_BIT(TR_EnableLastCompilationRetrialLogging), "F" },
12381242
{ "enableLocalVPSkipLowFreqBlock", "O\tSkip processing of low frequency blocks in localVP",

compiler/control/OMROptions.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,8 @@ enum TR_CompilationOptions {
464464
TR_DisableInlineWriteBarriersRT = 0x08000000 + 11, // RTJ
465465
TR_DisableWarmCallGraphTooBigHeuristic = 0x10000000 + 11,
466466
TR_DisableNewInliningInfrastructure = 0x20000000 + 11,
467-
// Available = 0x40000000 + 11,
468-
// Available = 0x80000000 + 11,
467+
TR_DisableKnownObjectTableCaching = 0x40000000 + 11,
468+
TR_EnableKnownObjectTableCachingVerification = 0x80000000 + 11,
469469

470470
// Option word 12
471471
TR_ForceCStdIOForLoggers = 0x00000020 + 12,

0 commit comments

Comments
 (0)