Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: test/cctest/heap/test-heap.cc

Issue 2282733002: [interpreter] Make tick counter test code properly warm-up. (Closed)
Patch Set: Rebased. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/cctest.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/heap/test-heap.cc
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
index 80c4cc7c3434912d9258101959828a0b48704b06..e559ae41adb1710fe079bfdf673f707d71fb3ba0 100644
--- a/test/cctest/heap/test-heap.cc
+++ b/test/cctest/heap/test-heap.cc
@@ -2716,6 +2716,8 @@ TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) {
" return s;"
"}"
"f(); f();"
+ "%BaselineFunctionOnNextCall(f);"
+ "f(); f();"
"%OptimizeFunctionOnNextCall(f);"
"f();");
}
@@ -2760,6 +2762,8 @@ TEST(ResetSharedFunctionInfoCountersDuringMarkSweep) {
" return s;"
"}"
"f(); f();"
+ "%BaselineFunctionOnNextCall(f);"
+ "f(); f();"
"%OptimizeFunctionOnNextCall(f);"
"f();");
}
« no previous file with comments | « test/cctest/cctest.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698