< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page

        

*** 3198,3210 **** return JNI_EINVAL; } if (FLAG_SET_CMDLINE(bool, PrintGC, true) != Flag::SUCCESS) { return JNI_EINVAL; } - if (FLAG_SET_CMDLINE(bool, PrintGCTimeStamps, true) != Flag::SUCCESS) { - return JNI_EINVAL; - } } else if (match_option(option, "-Xlog", &tail)) { bool ret = false; if (strcmp(tail, ":help") == 0) { LogConfiguration::print_command_line_help(defaultStream::output_stream()); vm_exit(0); --- 3198,3207 ----
*** 4241,4253 **** warning("Forcing ScavengeRootsInCode non-zero"); } ScavengeRootsInCode = 1; } if (PrintGCDetails) { ! // Turn on -verbose:gc options as well ! PrintGC = true; } // Set object alignment values. set_object_alignment(); --- 4238,4254 ---- warning("Forcing ScavengeRootsInCode non-zero"); } ScavengeRootsInCode = 1; } + if (PrintGC) { + warning("-XX:+PrintGC not supported in this build. Will turn it off."); + PrintGC = false; + } if (PrintGCDetails) { ! warning("-XX:+PrintGCDetails not supported in this build. Will turn it off."); ! PrintGCDetails = false; } // Set object alignment values. set_object_alignment();
< prev index next >