JDK-8078612_eager_1b.js revision 1387:864aaf4e6441
1141104Sharti/* 21590Srgrimes * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. 31590Srgrimes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 41590Srgrimes * 51590Srgrimes * This code is free software; you can redistribute it and/or modify it 61590Srgrimes * under the terms of the GNU General Public License version 2 only, as 71590Srgrimes * published by the Free Software Foundation. 81590Srgrimes * 91590Srgrimes * This code is distributed in the hope that it will be useful, but WITHOUT 101590Srgrimes * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 111590Srgrimes * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 121590Srgrimes * version 2 for more details (a copy is included in the LICENSE file that 131590Srgrimes * accompanied this code). 141590Srgrimes * 151590Srgrimes * You should have received a copy of the GNU General Public License version 161590Srgrimes * 2 along with this work; if not, write to the Free Software Foundation, 171590Srgrimes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 181590Srgrimes * 191590Srgrimes * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 201590Srgrimes * or visit www.oracle.com if you need additional information or have any 211590Srgrimes * questions. 221590Srgrimes */ 231590Srgrimes 241590Srgrimes/** 251590Srgrimes * JDK-8078612: Persistent code cache should support more configurations 261590Srgrimes * 271590Srgrimes * @test 281590Srgrimes * @runif external.prototype 291590Srgrimes * @option -pcc 301590Srgrimes * @option --lazy-compilation=false 311590Srgrimes * @option -Dnashorn.persistent.code.cache=build/nashorn_code_cache 321590Srgrimes * @option -Dnashorn.options.allowEagerCompilationSilentOverride 331590Srgrimes * @fork 341590Srgrimes */ 351590Srgrimes 361590Srgrimesload(__DIR__ + 'prototype.js'); 3762833Swsanchez