Skip to content

Commit

Permalink
Add option to enable Code Cache disclaiming
Browse files Browse the repository at this point in the history
  • Loading branch information
gita-omr committed May 8, 2024
1 parent 40107cb commit 9b726ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions compiler/control/OMROptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"enableClassChainSharing", "M\tenable class sharing", SET_OPTION_BIT(TR_EnableClassChainSharing), "F", NOT_IN_SUBSET},
{"enableClassChainValidationCaching", "M\tenable class chain validation caching", SET_OPTION_BIT(TR_EnableClassChainValidationCaching), "F", NOT_IN_SUBSET},
{"enableCodeCacheConsolidation", "M\tenable code cache consolidation", SET_OPTION_BIT(TR_EnableCodeCacheConsolidation), "F", NOT_IN_SUBSET},
{"enableCodeCacheDisclaiming", "M\tenable memory disclaiming for code cache (linux specific).", SET_OPTION_BIT(TR_EnableCodeCacheDisclaiming),"F", NOT_IN_SUBSET},
{"enableColdCheapTacticalGRA", "O\tenable cold cheap tactical GRA", SET_OPTION_BIT(TR_EnableColdCheapTacticalGRA), "F"},
{"enableCompilationBeforeCheckpoint", "C\tenable compilation before checkpoint", RESET_OPTION_BIT(TR_DisableCompilationBeforeCheckpoint), "F", NOT_IN_SUBSET},
{"enableCompilationSpreading", "C\tenable adding spreading invocations to methods before compiling", SET_OPTION_BIT(TR_EnableCompilationSpreading), "F", NOT_IN_SUBSET},
Expand Down
2 changes: 1 addition & 1 deletion compiler/control/OMROptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ enum TR_CompilationOptions
TR_DisableIProfilerDataDisclaiming = 0x00000040 + 10,
TR_DisclaimMemoryOnSwap = 0x00000080 + 10,
TR_FirstLevelProfiling = 0x00000100 + 10,
// Available = 0x00000200 + 10,
TR_EnableCodeCacheDisclaiming = 0x00000200 + 10,
// Available = 0x00000400 + 10,
// Available = 0x00000800 + 10,
// Available = 0x00001000 + 10,
Expand Down

0 comments on commit 9b726ba

Please sign in to comment.