JDK-8176098 : Deprecate FlatProfiler
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-03-02
  • Updated: 2017-06-16
  • Resolved: 2017-03-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 9
10Fixed 9 b163Fixed
Related Reports
Relates :  
Sub Tasks
JDK-8176377 :  
Description
This technology is no longer relevant and is a source of root scanning for the GC and contains bugs. We want to remove flatprofiler in JDK 10 and therefore deprecated it in JDK 9.
Comments
FC Extension Request. FlatProfiler needs gc root scanning, have serious bugs and the technology is not relevant. See more in: linked 8173715 Risk: very low Integration will be done as soon as we get ok on the CCC. Launcher will print (when listing options): "-Xprof output cpu profiling data (deprecated)" And a warning when using -Xprof: "Option -Xprof was deprecated in version 9 and will likely be removed in a future release."
03-03-2017

The '-Xprof' option is mentioned in 'java -X' output: $ /java/re/jdk/1.9.0/latest/binaries/solaris-x64/bin/java -X -Xbatch disable background compilation -Xbootclasspath/a:<directories and zip/jar files separated by :> append to end of bootstrap class path -Xcheck:jni perform additional checks for JNI functions -Xcomp forces compilation of methods on first invocation -Xdebug provided for backward compatibility -Xdiag show additional diagnostic messages -Xdiag:resolver show resolver diagnostic messages -Xfuture enable strictest checks, anticipating future default -Xint interpreted mode execution only -Xinternalversion displays more detailed JVM version information than the -version option -Xloggc:<file> log GC status to a file with time stamps -Xmixed mixed mode execution (default) -Xmn<size> sets the initial and maximum size (in bytes) of the heap for the young generation (nursery) -Xms<size> set initial Java heap size -Xmx<size> set maximum Java heap size -Xnoclassgc disable class garbage collection -Xprof output cpu profiling data -Xrs reduce use of OS signals by Java/VM (see documentation) -Xshare:auto use shared class data if possible (default) -Xshare:off do not attempt to use shared class data -Xshare:on require using shared class data, otherwise fail. -XshowSettings show all settings and continue -XshowSettings:all show all settings and continue -XshowSettings:locale show all locale related settings and continue -XshowSettings:properties show all property settings and continue -XshowSettings:vm show all vm related settings and continue -Xss<size> set java thread stack size -Xverify sets the mode of the bytecode verifier --add-reads <module>=<target-module>(,<target-module>)* updates <module> to read <target-module>, regardless of module declaration. <target-module> can be ALL-UNNAMED to read all unnamed modules. --add-exports <module>/<package>=<target-module>(,<target-module>)* updates <module> to export <package> to <target-module>, regardless of module declaration. <target-module> can be ALL-UNNAMED to export to all unnamed modules. --add-opens <module>/<package>=<target-module>(,<target-module>)* updates <module> to open <package> to <target-module>, regardless of module declaration. --disable-@files disable further argument file expansion --patch-module <module>=<file>(:<file>)* Override or augment a module with classes and resources in JAR files or directories. These extra options are subject to change without notice. I believe the launcher generates that output. It should probably be updated to something like: -Xprof output cpu profiling data (deprecated)
03-03-2017