summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2018-08-28 14:57:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-08-28 14:57:10 +0000
commitaa317ffafe685b96993ffb2617c530f8b950480f (patch)
treeb8063e02b4aadec31ab19242dbe00e07854a09bc
parent19379b58bd433da91230e4fe6cd96e7416d16adc (diff)
parentd6f48f231fa806c20b10fa8d8a8ed821fa73f910 (diff)
Merge "Ensure the JITted method has a polymorphic inline cache."
-rwxr-xr-xtest/652-deopt-intrinsic/run6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/652-deopt-intrinsic/run b/test/652-deopt-intrinsic/run
index 97d1ff16bb..1acedf9add 100755
--- a/test/652-deopt-intrinsic/run
+++ b/test/652-deopt-intrinsic/run
@@ -15,4 +15,8 @@
# limitations under the License.
# Ensure this test is not subject to code collection.
-exec ${RUN} "$@" --runtime-option -Xjitinitialsize:32M
+# We also need at least a few invocations of the method Main.$noinline$doCall
+# to ensure the inline cache sees the two types being passed to the method. Pass
+# a large number in case there's some weights on some invocation kinds (eg
+# compiler to interpreter transitions).
+exec ${RUN} "$@" --runtime-option -Xjitinitialsize:32M --runtime-option -Xjitthreshold:1000