// java -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,"*::notinlined1" -XX:PerMethodTrapLimit=0 TestReverseBytesLargeConstantInputParam
public class TestReverseBytesLargeConstantInputParam {
    public static void main(String[] args) throws Throwable {
        java.lang.invoke.MethodHandles.lookup().ensureInitialized(Short.class);
        for (int i = 0; i < 20_000; i++) {
            notinlined1((short)0);
        }
    }

    private static int notinlined1(short v1) {
        if (v1 == Integer.MIN_VALUE) {
            return Short.reverseBytes(v1);
        }
        return 0;
    }
}
