This commit is contained in:
Keith McGuigan 2012-01-10 15:47:19 -05:00
commit 5c89631aef
11 changed files with 454 additions and 53 deletions

View file

@ -2330,7 +2330,7 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args,
#ifndef PRODUCT
// -Xprintflags
} else if (match_option(option, "-Xprintflags", &tail)) {
CommandLineFlags::printFlags();
CommandLineFlags::printFlags(tty, false);
vm_exit(0);
#endif
// -D
@ -2978,13 +2978,13 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
IgnoreUnrecognizedVMOptions = false;
}
if (match_option(option, "-XX:+PrintFlagsInitial", &tail)) {
CommandLineFlags::printFlags();
CommandLineFlags::printFlags(tty, false);
vm_exit(0);
}
#ifndef PRODUCT
if (match_option(option, "-XX:+PrintFlagsWithComments", &tail)) {
CommandLineFlags::printFlags(true);
CommandLineFlags::printFlags(tty, true);
vm_exit(0);
}
#endif
@ -3177,7 +3177,7 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
#endif
if (PrintCommandLineFlags) {
CommandLineFlags::printSetFlags();
CommandLineFlags::printSetFlags(tty);
}
// Apply CPU specific policy for the BiasedLocking