Test.java revision 564
460N/A * Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. 460N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 460N/A * This code is free software; you can redistribute it and/or modify it 460N/A * under the terms of the GNU General Public License version 2 only, as 460N/A * published by the Free Software Foundation. 460N/A * This code is distributed in the hope that it will be useful, but WITHOUT 460N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 460N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 460N/A * version 2 for more details (a copy is included in the LICENSE file that 460N/A * accompanied this code). 460N/A * You should have received a copy of the GNU General Public License version 460N/A * 2 along with this work; if not, write to the Free Software Foundation, 460N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 460N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 460N/A * CA 95054 USA or visit www.sun.com if you need additional information or 460N/A * @summary EA +DeoptimizeALot: assert(mon_info->owner()->is_locked(),"object must be locked now") 564N/A * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xbatch -XX:+DoEscapeAnalysis -XX:+DeoptimizeALot -XX:CompileCommand=exclude,java.lang.AbstractStringBuilder::append Test 460N/A for (
int i=
0; i<
10001; i++) {