< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page
rev 12685 : imported patch 8176098

@@ -3172,10 +3172,11 @@
         return JNI_EINVAL;
       }
     // -Xprof
     } else if (match_option(option, "-Xprof")) {
 #if INCLUDE_FPROF
+      log_warning(arguments)("Option -Xprof was deprecated in version 9 and will likely be removed in a future release.");
       _has_profile = true;
 #else // INCLUDE_FPROF
       jio_fprintf(defaultStream::error_stream(),
         "Flat profiling is not supported in this VM.\n");
       return JNI_ERR;
< prev index next >