JDK-8238737 : remove DeoptimizeAllClassesRate from CTW library
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-02-10
  • Updated: 2020-10-05
  • Resolved: 2020-09-30
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 16
16 b18Fixed
Related Reports
Relates :  
Description
Igor says here:
 https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2020-February/036927.html

"...the path looks good to me, but it effectively makes DeoptimizeAllClassesRate property useless. I wasn't able to find any recollection why this property and corresponding functionality was added, could you please either file an RFE to get rid off it or remove as part of this fix?"

We should see if it needs to be done.
Comments
Changeset: 8b3d6768 Author: Igor Ignatyev <iignatyev@openjdk.org> Date: 2020-09-30 14:50:15 +0000 URL: https://git.openjdk.java.net/jdk/commit/8b3d6768
30-09-2020

I have looked into the old implementation of CTW (one in /src/share/vm/classfile/classLoader.cpp) both at the time Java impl. was added by JDK-8012447 and the old impl. was removed by JDK-8214917, and there is nothing that would suggest that we had/needed DeoptimizeAllClassesRate, so I'm going to remove it.
29-09-2020