Skip to content

Commit

Permalink
Revert "GRA changes to reduce JIT overhead at warm opt levels"
Browse files Browse the repository at this point in the history
  • Loading branch information
mpirvu committed Jan 18, 2024
1 parent 4574b93 commit 440457a
Show file tree
Hide file tree
Showing 5 changed files with 834 additions and 151 deletions.
3 changes: 0 additions & 3 deletions compiler/control/OMROptions.cpp
Expand Up @@ -827,8 +827,6 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"GCRresetCount=", "R<nnn>\tthe value to which the counter is reset to after being tripped by guarded counting recompilations (positive value)",
TR::Options::setCount, offsetof(OMR::Options,_GCRResetCount), 0, "F%d"},
{"generateCompleteInlineRanges", "O\tgenerate meta data ranges for each change in inliner depth", SET_OPTION_BIT(TR_GenerateCompleteInlineRanges), "F"},
{"graFreqThresholdAtWarm=", "O<nnn>\tgra threshold for block frequency for opt level less of equal to warm",
TR::Options::set32BitNumeric, offsetof(OMR::Options, _graFreqThresholdAtWarm), 500, "F%d"},
{"help", " \tdisplay this help information", TR::Options::helpOption, 0, 0, "F", NOT_IN_SUBSET},
{"help=", " {regex}\tdisplay help for options whose names match {regex}", TR::Options::helpOption, 1, 0, "F", NOT_IN_SUBSET},
{"highCodeCacheOccupancyBCount=", "R<nnn>\tthe initial invocation count used during high code cache occupancy for methods with loops",
Expand Down Expand Up @@ -2678,7 +2676,6 @@ OMR::Options::jitPreProcess()
_alwaysWorthInliningThreshold = 15;
_maxLimitedGRACandidates = TR_MAX_LIMITED_GRA_CANDIDATES;
_maxLimitedGRARegs = TR_MAX_LIMITED_GRA_REGS;
_graFreqThresholdAtWarm = 500;
_counterBucketGranularity = 2;
_minCounterFidelity = INT_MIN;
_lastIpaOptTransformationIndex = INT_MAX;
Expand Down
3 changes: 0 additions & 3 deletions compiler/control/OMROptions.hpp
Expand Up @@ -1468,7 +1468,6 @@ class OMR_EXTENSIBLE Options
_insertGCRTrees = false;
_maxLimitedGRACandidates = 0;
_maxLimitedGRARegs = 0;
_graFreqThresholdAtWarm = 0;
_enableGPU = 0;
_isAOTCompile = false;
_jProfilingMethodRecompThreshold = 0;
Expand Down Expand Up @@ -1823,7 +1822,6 @@ class OMR_EXTENSIBLE Options
int32_t getAlwaysWorthInliningThreshold() const { return _alwaysWorthInliningThreshold; }
int32_t getMaxLimitedGRACandidates() { return _maxLimitedGRACandidates; }
int32_t getMaxLimitedGRARegs() { return _maxLimitedGRARegs; }
int32_t getGRAFreqThresholdAtWarm() { return _graFreqThresholdAtWarm; }
int32_t getNumLimitedGRARegsWithheld();

int32_t getProfilingCompNodecountThreshold() { return _profilingCompNodecountThreshold; }
Expand Down Expand Up @@ -2483,7 +2481,6 @@ class OMR_EXTENSIBLE Options

int32_t _maxLimitedGRACandidates;
int32_t _maxLimitedGRARegs;
int32_t _graFreqThresholdAtWarm;

int32_t _enableGPU;

Expand Down

0 comments on commit 440457a

Please sign in to comment.