public static void printInlining(final ResolvedJavaMethod method,final int bci,final int inliningDepth,final boolean success,final String msg,final Object... args){
  if (HotSpotPrintInlining.getValue()) {
    StringBuilder sb=new StringBuilder();
    sb.append("        ");
    sb.append("     ");
    sb.append(String.format("%c%c%c%c%c ",' ',method.isSynchronized() ? 's' : ' ',' ',' ',method.isNative() ? 'n' : ' '));
    sb.append("     ");
    sb.append("    ");
    for (int i=0; i < inliningDepth; i++) {
      sb.append("  ");
    }
    sb.append(String.format("@ %d  %s   %s%s",bci,methodName(method),success ? "" : "not inlining ",String.format(msg,args)));
    TTY.println(sb.toString());
  }
}

public static void printInlining ( final ResolvedJavaMethod method , final int bci , final int inliningDepth , final boolean success , final String msg , final Object ... args ) { if ( HotSpotPrintInlining . getValue ( ) ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "        " ) ; sb . append ( "     " ) ; sb . append ( String . format ( "%c%c%c%c%c " , ' ' , method . isSynchronized ( ) ? 's' : ' ' , ' ' , ' ' , method . isNative ( ) ? 'n' : ' ' ) ) ; sb . append ( "     " ) ; sb . append ( "    " ) ; for ( int i = 0 ; i < inliningDepth ; i ++ ) { sb . append ( "  " ) ; } sb . append ( String . format ( "@ %d  %s   %s%s" , bci , methodName ( method ) , success ? "" : "not inlining " , String . format ( msg , args ) ) ) ; TTY . println ( sb . toString ( ) ) ; } }
print a hotspot - style inlining message to the console .
