JDK-8234574 : Rename prediction methods in G1Analytics
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-11-21
  • Updated: 2019-12-10
  • Resolved: 2019-12-02
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 14
14 b26Fixed
Related Reports
Blocks :  
Description
In the review for JDK-8227434 the question arose whether the naming of the methods to get predictions in G1Predictions (and wrappers around it) couldn't be improved for readability.

I.e. change

 get_new_prediction(TruncatedSeq const* seq) const
 get_new_unit_prediction(TruncatedSeq const* seq) const
 get_new_lower_zero_bound_prediction(TruncatedSeq const* seq) const

to

 predict(TruncatedSeq const* seq) const
 predict_in_unit_interval(TruncatedSeq const* seq) const
 predict_zero_bounded(TruncatedSeq const* seq) const

Implement this.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/676eb5c4a3e4 User: tschatzl Date: 2019-12-02 13:21:49 +0000
02-12-2019