mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
Merge
This commit is contained in:
commit
1726127181
27 changed files with 201 additions and 120 deletions
|
@ -2838,11 +2838,14 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args, bool* patch_m
|
|||
build_jvm_args(option->optionString);
|
||||
}
|
||||
|
||||
// -verbose:[class/gc/jni]
|
||||
// -verbose:[class/module/gc/jni]
|
||||
if (match_option(option, "-verbose", &tail)) {
|
||||
if (!strcmp(tail, ":class") || !strcmp(tail, "")) {
|
||||
LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(class, load));
|
||||
LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(class, unload));
|
||||
} else if (!strcmp(tail, ":module")) {
|
||||
LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(module, load));
|
||||
LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(module, unload));
|
||||
} else if (!strcmp(tail, ":gc")) {
|
||||
LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(gc));
|
||||
} else if (!strcmp(tail, ":jni")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue