Skip to content

Commit 24e7561

Browse files
committed
Add options to control KnownObjectTable caching
This commit adds two options that will be used in a downstream project (OpenJ9): -Xjit:disableKnownObjectTableCaching -Xjit:enableKnownObjectTableCachingVerification Signed-off-by: Marius Pirvu <mpirvu@ca.ibm.com>
1 parent 4430cf4 commit 24e7561

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",
@@ -1231,6 +1233,8 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
12311233
{ "enableJProfiling", "O\tenable JProfiling", SET_OPTION_BIT(TR_EnableJProfiling), "F" },
12321234
{ "enableJProfilingInProfilingCompilations",
12331235
"O\tEnable the use of jprofiling instrumentation in profiling compilations", RESET_OPTION_BIT(TR_DisableJProfilingInProfilingCompilations), "F" },
1236+
{ "enableKnownObjectTableCachingVerification", "O\tverify the cached info about known object info",
1237+
SET_OPTION_BIT(TR_EnableKnownObjectTableCachingVerification), "F" },
12341238
{ "enableLastRetrialLogging",
12351239
"O\tenable fullTrace logging for last compilation attempt. Needs to have a log defined on the command line", SET_OPTION_BIT(TR_EnableLastCompilationRetrialLogging), "F" },
12361240
{ "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
// Available = 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)