summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-11-15 14:02:07 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2021-11-24 14:04:12 +0000
commit58f916cd6ce9eaeba7b4dbb96c3c77d636f64be5 (patch)
tree7186d7b3da40f110f487abcb9574a2f848336b36 /cmdline
parent24d589eae75239486b512a8e624aee83bba0c315 (diff)
Replace the nterp threshold with the warmup threshold.
Replace a hardcoded value with one that can be changed at the command line. Test: test.py Change-Id: I638da5b5cc2e56aa0857d2bf0862a2f8c2020949
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/cmdline_parser_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/cmdline_parser_test.cc b/cmdline/cmdline_parser_test.cc
index 10c651b8e5..38c37ec127 100644
--- a/cmdline/cmdline_parser_test.cc
+++ b/cmdline/cmdline_parser_test.cc
@@ -479,7 +479,7 @@ TEST_F(CmdlineParserTest, TestJitOptions) {
MemoryKiB(16 * MB), "-Xjitmaxsize:16M", M::JITCodeCacheMaxCapacity);
}
{
- EXPECT_SINGLE_PARSE_VALUE(12345u, "-Xjitthreshold:12345", M::JITCompileThreshold);
+ EXPECT_SINGLE_PARSE_VALUE(12345u, "-Xjitthreshold:12345", M::JITOptimizeThreshold);
}
} // TEST_F