--- old/src/share/vm/compiler/compilerOracle.cpp 2014-11-25 14:08:39.197630672 +0100 +++ new/src/share/vm/compiler/compilerOracle.cpp 2014-11-25 14:08:39.097630676 +0100 @@ -105,7 +105,6 @@ tty->print("."); print_symbol(method_name(), _method_mode); if (signature() != NULL) { - tty->print(" "); signature()->print_symbol_on(tty); } } @@ -467,43 +466,84 @@ return UnknownCommand; } - static void usage() { - tty->print_cr(" CompileCommand and the CompilerOracle allows simple control over"); - tty->print_cr(" what's allowed to be compiled. The standard supported directives"); - tty->print_cr(" are exclude and compileonly. The exclude directive stops a method"); - tty->print_cr(" from being compiled and compileonly excludes all methods except for"); - tty->print_cr(" the ones mentioned by compileonly directives. The basic form of"); - tty->print_cr(" all commands is a command name followed by the name of the method"); - tty->print_cr(" in one of two forms: the standard class file format as in"); - tty->print_cr(" class/name.methodName or the PrintCompilation format"); - tty->print_cr(" class.name::methodName. The method name can optionally be followed"); - tty->print_cr(" by a space then the signature of the method in the class file"); - tty->print_cr(" format. Otherwise the directive applies to all methods with the"); - tty->print_cr(" same name and class regardless of signature. Leading and trailing"); - tty->print_cr(" *'s in the class and/or method name allows a small amount of"); - tty->print_cr(" wildcarding. "); - tty->cr(); - tty->print_cr(" Examples:"); - tty->cr(); - tty->print_cr(" exclude java/lang/StringBuffer.append"); - tty->print_cr(" compileonly java/lang/StringBuffer.toString ()Ljava/lang/String;"); - tty->print_cr(" exclude java/lang/String*.*"); - tty->print_cr(" exclude *.toString"); -} - + tty->cr(); + tty->print_cr("The CompileCommand option enables the user of the JVM to control specific"); + tty->print_cr("behavior of the dynamic compilers. The CompileCommand option defines the"); + tty->print_cr("following commands:"); + tty->cr(); + tty->print_cr(" break, - debug breakpoint in compiler and in generated code"); + tty->print_cr(" print, - print assembly of method"); + tty->print_cr(" exclude, - don't compile or inline this "); + tty->print_cr(" inline, - always inline this method"); + tty->print_cr(" dontinline, - don't inline this method"); + tty->print_cr(" compileonly, - compile only this method"); + tty->print_cr(" log, - log compilation of method"); + tty->print_cr(" option,,