Skip to content

Commit

Permalink
Add TR_ReinstallAOTToColdCode option
Browse files Browse the repository at this point in the history
- this option will control whether AOT code is reinstalled into
  cold code cache or not
  • Loading branch information
gita-omr committed Aug 7, 2024
1 parent 56cb81f commit e101cfb
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 @@ -1079,6 +1079,7 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"realTimeGC", "I\tSupport the real time GC", SET_OPTION_BIT(TR_RealTimeGC), "F" },
{"reduceCountsForMethodsCompiledDuringStartup", "M\tNeeds SCC compilation hints\t", SET_OPTION_BIT(TR_ReduceCountsForMethodsCompiledDuringStartup), "F", NOT_IN_SUBSET },
{"regmap", "C\tgenerate GC maps with register maps", SET_OPTION_BIT(TR_RegisterMaps), "F", NOT_IN_SUBSET},
{"reinstallAOTToColdCode", "M\treinstall AOT methods into cold code cache", SET_OPTION_BIT(TR_ReinstallAOTToColdCode), "F"},
{"reportEvents", "C\tcompile event reporting hooks into code", SET_OPTION_BIT(TR_ReportMethodEnter | TR_ReportMethodExit)},
{"reportMethodEnterExit", "D\treport method enter and exit", SET_OPTION_BIT(TR_ReportMethodEnter | TR_ReportMethodExit), "F"},
{"reserveAllLocks", "O\tenable reserving locks for all classes and methods (DEBUG Only)", SET_OPTION_BIT(TR_ReserveAllLocks), "F"},
Expand Down
2 changes: 1 addition & 1 deletion compiler/control/OMROptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ enum TR_CompilationOptions
TR_ReportMethodExit = 0x00000100,
TR_EntryBreakPoints = 0x00000200,
TR_EnableOldEDO = 0x00000400,
// Available = 0x00000800,
TR_ReinstallAOTToColdCode = 0x00000800,
TR_RegisterMaps = 0x00001000,
TR_CreatePCMaps = 0x00002000,
TR_AggressiveInlining = 0x00004000,
Expand Down

0 comments on commit e101cfb

Please sign in to comment.