JDK-8264941 : Remove CodeCache::mark_for_evol_deoptimization() method
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-04-08
  • Updated: 2021-06-28
  • Resolved: 2021-06-22
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 18
18 b03Fixed
Related Reports
Cloners :  
Relates :  
Description
After AOT was removed (JDK-8264805) method CodeCache::mark_for_evol_deoptimization() become empty except an assert. We should remove it if we don't need it.
Comments
Changeset: 33c23a1c Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2021-06-22 16:09:17 +0000 URL: https://git.openjdk.java.net/jdk/commit/33c23a1cf2aa81551eee4a2acf271edf573558aa
22-06-2021

There's another function in jvmtiRedefineClasses that can also be removed. We used to find nmethods dependent on a redefined klass by walking the code cache for each klass. Now there's a code cache walk at the end. There's a comment before the function that should be rewritten, so I've assigned this to myself and it's technically jvmti. Thanks [~kvn]
08-04-2021