JDK-8216578 : Remove unused/obsolete method in JFR code
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11,12,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-11
  • Updated: 2020-04-27
  • Resolved: 2019-01-17
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 11 JDK 12 JDK 13 Other
11.0.3Fixed 12.0.2Fixed 13 b05Fixed openjdk8u262Fixed
Related Reports
Duplicate :  
Relates :  
Description
In the discussion for JDK-8214776, mikael pointed out that JfrOSInterface::JfrOSInterfaceImpl::functionality_not_implemented() was not used.  

This issue proposes removing that function, in the interest of clarity.

Comments
Replacing jdk8u-fix-request with link to JDK-8239140
17-02-2020

RFC: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-January/011063.html
30-01-2020

Approved assuming they're also unused in 11 & 12!
08-02-2019

Fix Request: Requesting to backport this fix to JDK 11u and JDK 12u for code maintainability. The fix is simple and removes one unused function. The JDK 13 patch applies as is to JDK 11u and JDK 12u.
06-02-2019

Yes, you're right. I'll add the backports
06-02-2019

Simon, this could/should be trivially backported to 11u and 12u, right? Updated "Affects versions" with 11 and 12, please put appropriate "Fix Request" for backports. The patch seems to apply and build for both 11u and 12u.
06-02-2019