Skip to content

Commit

Permalink
Merge pull request #7539 from cjjdespres/dep-tracking
Browse files Browse the repository at this point in the history
Add option for per-compilation dependency tracking
  • Loading branch information
dsouzai authored Nov 11, 2024
2 parents 5342c2d + 5b87e8e commit 9092301
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compiler/control/OMROptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"disableDeadTreeElimination", "O\tdisable dead tree elimination", TR::Options::disableOptimization, deadTreesElimination, 0, "P"},
{"disableDelayRelocationForAOTCompilations", "M\tDo not relocate code for AOT compilations right away", SET_OPTION_BIT(TR_DisableDelayRelocationForAOTCompilations), "F" },
{"disableDememoization", "O\talways call \"memoizing\" getters (like Integer.valueOf) rather than having Escape Analysis turn them into noncontiguous stack allocations", SET_OPTION_BIT(TR_DisableDememoization), "F"},
{"disableDependencyTracking", "M\tdisable dependency tracking for AOT compilations", SET_OPTION_BIT(TR_DisableDependencyTracking), "F"},
{"disableDirectMemoryOps", "O\tdisable generation of direct memory instructions",SET_OPTION_BIT(TR_DisableDirectMemoryOps), "F"},
{"disableDirectStaticAccessOnZ", "O\tsupport relative load instructions for c and c++", SET_OPTION_BIT(TR_DisableDirectStaticAccessOnZ), "F"},
{"disableDirectToJNI", "O\tdisable all JNI linkage dispatch sequences including thunks", SET_OPTION_BIT(TR_DisableDirectToJNI), "F"},
Expand Down Expand Up @@ -700,6 +701,7 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"enableCompilationYieldStats", "M\tenable statistics on time between 2 consecutive yield points", SET_OPTION_BIT(TR_EnableCompYieldStats), "F", NOT_IN_SUBSET},
{"enableCopyingTROTInduction1Idioms", "O\tenable CopyingTROTInduction1 idiom patterns", SET_OPTION_BIT(TR_EnableCopyingTROTInduction1Idioms), "F", NOT_IN_SUBSET},
{"enableDataCacheStatistics", "I\tenable the collection and display of data cache related statistics.", SET_OPTION_BIT(TR_EnableDataCacheStatistics),"F", NOT_IN_SUBSET},
{"enableDependencyTracking", "M\tenable dependency tracking for AOT compilations", RESET_OPTION_BIT(TR_DisableDependencyTracking), "F"},
{"enableDeterministicOrientedCompilation", "O\tenable deterministic oriented compilation", SET_OPTION_BIT(TR_EnableDeterministicOrientedCompilation), "F"},
{"enableDLTBytecodeIndex=", "O<nnn>\tforce attempted DLT compilation to use specified bytecode index", TR::Options::set32BitNumeric, offsetof(OMR::Options,_enableDLTBytecodeIndex), 0, "F%d"},
{"enableDowngradeOnHugeQSZ", "M\tdowngrade first time compilations when the compilation queue is huge (1000+ entries)", SET_OPTION_BIT(TR_EnableDowngradeOnHugeQSZ), "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 @@ -396,7 +396,7 @@ enum TR_CompilationOptions
TR_RequestJITServerCachedMethods = 0x00001000 + 10,
TR_DisableNewMethodOverride = 0x00002000 + 10,
TR_EnableSharedCacheDisclaiming = 0x00004000 + 10,
// Available = 0x00008000 + 10,
TR_DisableDependencyTracking = 0x00008000 + 10,
// Available = 0x00010000 + 10,
TR_EnableSequentialLoadStoreWarm = 0x00020000 + 10,
TR_EnableSequentialLoadStoreCold = 0x00040000 + 10,
Expand Down

0 comments on commit 9092301

Please sign in to comment.