< prev index next >

test/compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java

Print this page




  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  * @test
  26  * @bug 8136421
  27  * @requires (vm.simpleArch == "x64" | vm.simpleArch == "sparcv9" | vm.simpleArch == "aarch64")
  28  *         & (vm.compMode != "Xcomp" | vm.opt.TieredCompilation == null | vm.opt.TieredCompilation == true)
  29  * @summary no "-Xcomp -XX:-TieredCompilation" combination allowed until JDK-8140018 is resolved
  30  * @library / /testlibrary /test/lib
  31  * @library ../common/patches
  32  * @modules java.base/jdk.internal.misc
  33  * @modules java.base/jdk.internal.org.objectweb.asm
  34  *          java.base/jdk.internal.org.objectweb.asm.tree
  35  *          jdk.vm.ci/jdk.vm.ci.hotspot
  36  *          jdk.vm.ci/jdk.vm.ci.code
  37  *          jdk.vm.ci/jdk.vm.ci.meta
  38  *
  39  * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  40  * @build compiler.jvmci.compilerToVM.MaterializeVirtualObjectTest
  41  * @build sun.hotspot.WhiteBox
  42  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  43  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  44  * @run main/othervm -Xmixed -Xbootclasspath/a:.
  45  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  46  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  47  *                   -XX:CompileCommand=exclude,*::check
  48  *                   -XX:+DoEscapeAnalysis -XX:-UseCounterDecay
  49  *                   -Xbatch
  50  *                   -Dcompiler.jvmci.compilerToVM.MaterializeVirtualObjectTest.invalidate=false
  51  *                   compiler.jvmci.compilerToVM.MaterializeVirtualObjectTest
  52  * @run main/othervm -Xmixed -Xbootclasspath/a:.
  53  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  54  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  55  *                   -XX:CompileCommand=exclude,*::check
  56  *                   -XX:+DoEscapeAnalysis -XX:-UseCounterDecay
  57  *                   -Xbatch
  58  *                   -Dcompiler.jvmci.compilerToVM.MaterializeVirtualObjectTest.invalidate=true
  59  *                   compiler.jvmci.compilerToVM.MaterializeVirtualObjectTest
  60  */
  61 




  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  * @test
  26  * @bug 8136421
  27  * @requires (vm.simpleArch == "x64" | vm.simpleArch == "sparcv9" | vm.simpleArch == "aarch64")
  28  *         & (vm.compMode != "Xcomp" | vm.opt.TieredCompilation == null | vm.opt.TieredCompilation == true)
  29  * @summary no "-Xcomp -XX:-TieredCompilation" combination allowed until JDK-8140018 is resolved
  30  * @library / /test/lib
  31  * @library ../common/patches
  32  * @modules java.base/jdk.internal.misc
  33  * @modules java.base/jdk.internal.org.objectweb.asm
  34  *          java.base/jdk.internal.org.objectweb.asm.tree
  35  *          jdk.vm.ci/jdk.vm.ci.hotspot
  36  *          jdk.vm.ci/jdk.vm.ci.code
  37  *          jdk.vm.ci/jdk.vm.ci.meta
  38  *
  39  * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper sun.hotspot.WhiteBox


  40  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  41  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  42  * @run main/othervm -Xmixed -Xbootclasspath/a:.
  43  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  44  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  45  *                   -XX:CompileCommand=exclude,*::check
  46  *                   -XX:+DoEscapeAnalysis -XX:-UseCounterDecay
  47  *                   -Xbatch
  48  *                   -Dcompiler.jvmci.compilerToVM.MaterializeVirtualObjectTest.invalidate=false
  49  *                   compiler.jvmci.compilerToVM.MaterializeVirtualObjectTest
  50  * @run main/othervm -Xmixed -Xbootclasspath/a:.
  51  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  52  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  53  *                   -XX:CompileCommand=exclude,*::check
  54  *                   -XX:+DoEscapeAnalysis -XX:-UseCounterDecay
  55  *                   -Xbatch
  56  *                   -Dcompiler.jvmci.compilerToVM.MaterializeVirtualObjectTest.invalidate=true
  57  *                   compiler.jvmci.compilerToVM.MaterializeVirtualObjectTest
  58  */
  59 


< prev index next >