9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 /** 26 * @test 27 * @bug 7068051 28 * @summary SIGSEGV in PhaseIdealLoop::build_loop_late_post on T5440 29 * @library /testlibrary 30 * @modules java.base/jdk.internal.misc 31 * java.management 32 * 33 * @run main/othervm -showversion -Xbatch compiler.c2.Test7068051 34 */ 35 36 package compiler.c2; 37 38 import jdk.test.lib.JDKToolLauncher; 39 import jdk.test.lib.OutputAnalyzer; 40 41 import java.io.IOException; 42 import java.io.InputStream; 43 import java.nio.file.Files; 44 import java.nio.file.Path; 45 import java.nio.file.Paths; 46 import java.nio.file.StandardCopyOption; 47 import java.util.ArrayList; 48 import java.util.Enumeration; 49 import java.util.List; 50 import java.util.zip.ZipEntry; 51 import java.util.zip.ZipFile; 52 53 public class Test7068051 { 54 private static final String SELF_NAME = Test7068051.class.getSimpleName(); 55 private static final String SELF_FILE_NAME = SELF_NAME + ".java"; 56 private static final String JAR_NAME = "foo.jar"; 57 private static final String TEST_PATH = System.getProperty("test.src"); 58 private static final Path CURRENT_DIR = Paths.get("."); 59 private static final Path TEST_SOURCE_PATH = Paths.get(TEST_PATH, SELF_FILE_NAME); | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 /** 26 * @test 27 * @bug 7068051 28 * @summary SIGSEGV in PhaseIdealLoop::build_loop_late_post on T5440 29 * @library /test/lib 30 * @modules java.base/jdk.internal.misc 31 * java.management 32 * 33 * @run main/othervm -showversion -Xbatch compiler.c2.Test7068051 34 */ 35 36 package compiler.c2; 37 38 import jdk.test.lib.JDKToolLauncher; 39 import jdk.test.lib.process.OutputAnalyzer; 40 41 import java.io.IOException; 42 import java.io.InputStream; 43 import java.nio.file.Files; 44 import java.nio.file.Path; 45 import java.nio.file.Paths; 46 import java.nio.file.StandardCopyOption; 47 import java.util.ArrayList; 48 import java.util.Enumeration; 49 import java.util.List; 50 import java.util.zip.ZipEntry; 51 import java.util.zip.ZipFile; 52 53 public class Test7068051 { 54 private static final String SELF_NAME = Test7068051.class.getSimpleName(); 55 private static final String SELF_FILE_NAME = SELF_NAME + ".java"; 56 private static final String JAR_NAME = "foo.jar"; 57 private static final String TEST_PATH = System.getProperty("test.src"); 58 private static final Path CURRENT_DIR = Paths.get("."); 59 private static final Path TEST_SOURCE_PATH = Paths.get(TEST_PATH, SELF_FILE_NAME); |