1 /*
   2  * Copyright (c) 2020 SAP SE. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   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  * @test
  26  * @bug 8227745
  27  *
  28  * @summary This is another configuration of EATests.java to test graal. Some testcases are expected
  29  *          to fail, because graal does not provide all information about non-escaping objects in
  30  *          scope. These are skipped.
  31  *
  32  * @author Richard Reingruber richard DOT reingruber AT sap DOT com
  33  *
  34  * @requires ((vm.compMode == "Xmixed") & vm.jvmci)
  35  *
  36  * @library /test/lib /test/hotspot/jtreg
  37  *
  38  * @run build TestScaffold VMConnection TargetListener TargetAdapter sun.hotspot.WhiteBox
  39  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  40  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  41  * @run compile -g EATests.java
  42  *
  43  * @comment Test with Graal. Some testcases are expected to fail, because Graal does not provide all information about non-escaping
  44  *          objects in scope. These are skipped.
  45  * @run driver EATests
  46  *                 -XX:+UnlockDiagnosticVMOptions
  47  *                 -Xms256m -Xmx256m
  48  *                 -Xbootclasspath/a:.
  49  *                 -XX:CompileCommand=dontinline,*::dontinline_*
  50  *                 -XX:+WhiteBoxAPI
  51  *                 -Xbatch
  52  *                 -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler
  53  */