JDK-8181190 : Remove FlatProfiler
  • Type: CSR
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 10
  • Submitted: 2017-05-29
  • Updated: 2017-07-05
  • Resolved: 2017-06-16
Related Reports
CSR :  
Description
Summary
-------
FlatProfiler (-Xprof) have been deprecated in JDK 9. 
For JDK 10 we want to remove the functionality.

Problem
-------
This technology is no longer relevant and is a source of root scanning for the GC and contains bugs.

Solution
--------
The functionality will be removed from our sources.
When using -Xprof the warning message will be change to reflect that this option no longer have any effect.

Specification
-------------
-Xprof will emit an obsolete warning.


Comments
Voting to approve.
16-06-2017

ok, so now what happens?
07-06-2017

Thanks Alan for adding the log line. I updated some fields, e.g. risk.
01-06-2017

JDK-8176098 deprecated the FlatProfiler in JDK 9 and includes warning when -Xprof is used, e.g: [0.011s][warning][arguments] Option -Xprof was deprecated in version 9 and will likely be removed in a future release. So looks good to me too. I assume the compatibility risk will be set to low or minimal before this is finalized.
01-06-2017

Looks OK to me
30-05-2017