test/script/basic/apply_to_call/JDK-8145669_2.js

Tue, 15 Jan 2019 10:36:25 +0000

author
aefimov
date
Tue, 15 Jan 2019 10:36:25 +0000
changeset 2462
e9169a96a3d1
parent 1648
ab5cb7c26321
permissions
-rw-r--r--

Added tag jdk8u202-ga for changeset 7aeae6eb6236

sundar@1648 1 /*
sundar@1648 2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
sundar@1648 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
sundar@1648 4 *
sundar@1648 5 * This code is free software; you can redistribute it and/or modify it
sundar@1648 6 * under the terms of the GNU General Public License version 2 only, as
sundar@1648 7 * published by the Free Software Foundation.
sundar@1648 8 *
sundar@1648 9 * This code is distributed in the hope that it will be useful, but WITHOUT
sundar@1648 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
sundar@1648 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
sundar@1648 12 * version 2 for more details (a copy is included in the LICENSE file that
sundar@1648 13 * accompanied this code).
sundar@1648 14 *
sundar@1648 15 * You should have received a copy of the GNU General Public License version
sundar@1648 16 * 2 along with this work; if not, write to the Free Software Foundation,
sundar@1648 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
sundar@1648 18 *
sundar@1648 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
sundar@1648 20 * or visit www.oracle.com if you need additional information or have any
sundar@1648 21 * questions.
sundar@1648 22 */
sundar@1648 23
sundar@1648 24 /**
sundar@1648 25 * JDK-8145669: apply2call optimized callsite fails after becoming megamorphic
sundar@1648 26 *
sundar@1648 27 * @test
sundar@1648 28 * @option -Dnashorn.unstable.relink.threshold=1
sundar@1648 29 * @fork
sundar@1648 30 * @run
sundar@1648 31 */
sundar@1648 32
sundar@1648 33 load(__DIR__ + "apply_to_call_varargs.js");

mercurial