< prev index next >

test/compiler/compilercontrol/InlineMatcherTest.java

Print this page
rev 9435 : imported patch WB-build
rev 9148 : 8137167: JEP165: Compiler Control: Implementation task
Summary: Compiler Control JEP
Reviewed-by: roland, twisti, zmajo, simonis


   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 InlineMatcherTest
  26  * @bug 8074095
  27  * @library /testlibrary /../../test/lib

  28  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  29  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  30  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI InlineMatcherTest
  31  * @summary Testing of compiler/InlineMatcher
  32  */
  33 
  34 import java.lang.reflect.Method;
  35 import java.util.ArrayList;
  36 import sun.hotspot.WhiteBox;
  37 
  38 public class InlineMatcherTest {
  39 
  40     /** Instance of WhiteBox */
  41     protected static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();
  42 
  43     Method helper;
  44     Method getDate;
  45     Method inner;
  46     Method toString;
  47 




   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 InlineMatcherTest
  26  * @bug 8074095
  27  * @library /testlibrary /test/lib
  28  * @build sun.hotspot.WhiteBox
  29  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  30  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  31  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI InlineMatcherTest
  32  * @summary Testing of compiler/InlineMatcher
  33  */
  34 
  35 import java.lang.reflect.Method;
  36 import java.util.ArrayList;
  37 import sun.hotspot.WhiteBox;
  38 
  39 public class InlineMatcherTest {
  40 
  41     /** Instance of WhiteBox */
  42     protected static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();
  43 
  44     Method helper;
  45     Method getDate;
  46     Method inner;
  47     Method toString;
  48 


< prev index next >