Path: blob/master/test/hotspot/jtreg/compiler/blackhole/BlackholeTarget.java
41149 views
/*1* Copyright (c) 2021, Red Hat, Inc. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/2223package compiler.blackhole;2425import java.lang.reflect.*;2627public class BlackholeTarget {28public void call_for_null_check() {}2930public void bh_i_boolean_0() {}31public void bh_i_byte_0() {}32public void bh_i_short_0() {}33public void bh_i_char_0() {}34public void bh_i_int_0() {}35public void bh_i_float_0() {}36public void bh_i_long_0() {}37public void bh_i_double_0() {}38public void bh_i_Object_0() {}3940public static void bh_s_boolean_0() {}41public static void bh_s_byte_0() {}42public static void bh_s_short_0() {}43public static void bh_s_char_0() {}44public static void bh_s_int_0() {}45public static void bh_s_float_0() {}46public static void bh_s_long_0() {}47public static void bh_s_double_0() {}48public static void bh_s_Object_0() {}4950public static void bh_s_boolean_1(boolean v) {}51public static void bh_s_byte_1(byte v) {}52public static void bh_s_short_1(short v) {}53public static void bh_s_char_1(char v) {}54public static void bh_s_int_1(int v) {}55public static void bh_s_float_1(float v) {}56public static void bh_s_long_1(long v) {}57public static void bh_s_double_1(double v) {}58public static void bh_s_Object_1(Object v) {}5960public static void bh_s_boolean_1_delegate(boolean v) { bh_s_boolean_1(v); }61public static void bh_s_byte_1_delegate(byte v) { bh_s_byte_1(v); }62public static void bh_s_short_1_delegate(short v) { bh_s_short_1(v); }63public static void bh_s_char_1_delegate(char v) { bh_s_char_1(v); }64public static void bh_s_int_1_delegate(int v) { bh_s_int_1(v); }65public static void bh_s_float_1_delegate(float v) { bh_s_float_1(v); }66public static void bh_s_long_1_delegate(long v) { bh_s_long_1(v); }67public static void bh_s_double_1_delegate(double v) { bh_s_double_1(v); }68public static void bh_s_Object_1_delegate(Object v) { bh_s_Object_1(v); }6970public static void bh_s_boolean_2(boolean v1, boolean v2) {}71public static void bh_s_byte_2(byte v1, byte v2) {}72public static void bh_s_short_2(short v1, short v2) {}73public static void bh_s_char_2(char v1, char v2) {}74public static void bh_s_int_2(int v1, int v2) {}75public static void bh_s_float_2(float v1, float v2) {}76public static void bh_s_long_2(long v1, long v2) {}77public static void bh_s_double_2(double v1, double v2) {}78public static void bh_s_Object_2(Object v1, Object v2) {}7980public static boolean bh_sr_boolean(boolean v) { return false; }81public static byte bh_sr_byte(byte v) { return 0; }82public static short bh_sr_short(short v) { return 0; }83public static char bh_sr_char(char v) { return 0; }84public static int bh_sr_int(int v) { return 0; }85public static float bh_sr_float(float v) { return 0; }86public static long bh_sr_long(long v) { return 0; }87public static double bh_sr_double(double v) { return 0; }88public static Object bh_sr_Object(Object v) { return null; }89}909192