8219139: move hotspot tests from test/jdk/vm
Reviewed-by: dholmes, mseledtsov
This commit is contained in:
parent
a148e026a9
commit
8fb834a4bf
test
hotspot/jtreg
compiler
gc
runtime
ErrorHandling
Thread
interpreter
reflect
verifier
jdk
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -26,8 +26,11 @@
|
||||
* @bug 4157675
|
||||
* @summary Solaris JIT generates bad code for logic expression
|
||||
* @author Tom Rodriguez
|
||||
* @run main compiler.codegen.BadLogicCode
|
||||
*/
|
||||
|
||||
package compiler.codegen;
|
||||
|
||||
public class BadLogicCode {
|
||||
static int values[] = {Integer.MIN_VALUE, -1, 0, 1, 4, 16, 31,
|
||||
32, 33, Integer.MAX_VALUE};
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,7 +25,11 @@
|
||||
* @test
|
||||
* @bug 4093292
|
||||
* @summary Test for correct code generation by the JIT
|
||||
* @run main compiler.codegen.ShiftTest
|
||||
*/
|
||||
|
||||
package compiler.codegen;
|
||||
|
||||
public class ShiftTest {
|
||||
static final int w = 32;
|
||||
|
5
test/jdk/vm/jit/ExceptionInInit.java → test/hotspot/jtreg/compiler/exceptions/ExceptionInInit.java
5
test/jdk/vm/jit/ExceptionInInit.java → test/hotspot/jtreg/compiler/exceptions/ExceptionInInit.java
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -29,8 +29,11 @@
|
||||
* @author Tom Rodriguez
|
||||
*
|
||||
* @modules java.rmi
|
||||
* @run main compiler.exceptions.ExceptionInInit
|
||||
*/
|
||||
|
||||
package compiler.exceptions;
|
||||
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,10 +25,12 @@
|
||||
* @test
|
||||
* @bug 4154887
|
||||
* @summary self-parser test causes JDK 1.2 Beta4K segmentation fault
|
||||
* @run main/othervm JITClassInit
|
||||
* @author Tom Rodriguez
|
||||
* @run main/othervm compiler.runtime.JITClassInit
|
||||
*/
|
||||
|
||||
package compiler.runtime;
|
||||
|
||||
public class JITClassInit {
|
||||
public static void main(String[] args) {
|
||||
Token t = new Token();
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,9 +25,11 @@
|
||||
* @test
|
||||
* @bug 4063078
|
||||
* @summary Allocating a ridiculously large array should not crash the VM
|
||||
* @run main/othervm -Xmx32m -Xms32m ArraySize
|
||||
* @run main/othervm -Xmx32m -Xms32m gc.ArraySize
|
||||
*/
|
||||
|
||||
package gc;
|
||||
|
||||
public class ArraySize {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -26,8 +26,11 @@
|
||||
* @bug 4098578
|
||||
* @summary Check if the VM properly throws OutOfMemoryError
|
||||
* @author Sheng Liang
|
||||
* @run main/othervm -Xmx25M InfiniteList
|
||||
* @run main/othervm -Xmx25M gc.InfiniteList
|
||||
*/
|
||||
|
||||
package gc;
|
||||
|
||||
public class InfiniteList {
|
||||
InfiniteList next;
|
||||
long data[] = new long[50000];
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
@ -103,8 +103,7 @@ jdk_lang = \
|
||||
jdk/internal/ref \
|
||||
jdk/internal/jimage \
|
||||
jdk/internal/math \
|
||||
jdk/modules \
|
||||
vm
|
||||
jdk/modules
|
||||
|
||||
# All of the java.util package
|
||||
jdk_util = \
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
Loading…
x
Reference in New Issue
Block a user