< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page

        

*** 2552,2564 **** // Internally track ThreadStackSize in units of 1024 bytes. if (FLAG_SET_CMDLINE(intx, ThreadStackSize, round_to((int)long_ThreadStackSize, K) / K) != Flag::SUCCESS) { return JNI_EINVAL; } ! // -Xoss ! } else if (match_option(option, "-Xoss", &tail)) { ! // HotSpot does not have separate native and Java stacks, ignore silently for compatibility } else if (match_option(option, "-XX:CodeCacheExpansionSize=", &tail)) { julong long_CodeCacheExpansionSize = 0; ArgsRange errcode = parse_memory_size(tail, &long_CodeCacheExpansionSize, os::vm_page_size()); if (errcode != arg_in_range) { jio_fprintf(defaultStream::error_stream(), --- 2552,2569 ---- // Internally track ThreadStackSize in units of 1024 bytes. if (FLAG_SET_CMDLINE(intx, ThreadStackSize, round_to((int)long_ThreadStackSize, K) / K) != Flag::SUCCESS) { return JNI_EINVAL; } ! // -Xoss, -Xsqnopause, -Xoptimize, -Xboundthreads ! } else if (match_option(option, "-Xoss", &tail) || ! match_option(option, "-Xsqnopause") || ! match_option(option, "-Xoptimize") || ! match_option(option, "-Xboundthreads")) { ! // All these options are deprecated in JDK 9 and will be removed in a future release ! warning("Option %s was deprecated in version 9.0 and will likely be removed in a future release.", ! option->optionString); } else if (match_option(option, "-XX:CodeCacheExpansionSize=", &tail)) { julong long_CodeCacheExpansionSize = 0; ArgsRange errcode = parse_memory_size(tail, &long_CodeCacheExpansionSize, os::vm_page_size()); if (errcode != arg_in_range) { jio_fprintf(defaultStream::error_stream(),
*** 2627,2639 **** "Green threads support not available\n"); return JNI_EINVAL; // -native } else if (match_option(option, "-native")) { // HotSpot always uses native threads, ignore silently for compatibility - // -Xsqnopause - } else if (match_option(option, "-Xsqnopause")) { - // EVM option, ignore silently for compatibility // -Xrs } else if (match_option(option, "-Xrs")) { // Classic/EVM option, new functionality if (FLAG_SET_CMDLINE(bool, ReduceSignalUsage, true) != Flag::SUCCESS) { return JNI_EINVAL; --- 2632,2641 ----
*** 2641,2653 **** } else if (match_option(option, "-Xusealtsigs")) { // change default internal VM signals used - lower case for back compat if (FLAG_SET_CMDLINE(bool, UseAltSigs, true) != Flag::SUCCESS) { return JNI_EINVAL; } - // -Xoptimize - } else if (match_option(option, "-Xoptimize")) { - // EVM option, ignore silently for compatibility // -Xprof } else if (match_option(option, "-Xprof")) { #if INCLUDE_FPROF _has_profile = true; #else // INCLUDE_FPROF --- 2643,2652 ----
*** 2789,2800 **** // note this flag has been used, then ignore set_xdebug_mode(true); // -Xnoagent } else if (match_option(option, "-Xnoagent")) { // For compatibility with classic. HotSpot refuses to load the old style agent.dll. - } else if (match_option(option, "-Xboundthreads")) { - // Ignore silently for compatibility } else if (match_option(option, "-Xloggc:", &tail)) { // Redirect GC output to the file. -Xloggc:<filename> // ostream_init_log(), when called will use this filename // to initialize a fileStream. _gc_log_filename = os::strdup_check_oom(tail); --- 2788,2797 ----
< prev index next >