JDK-8269188 : [BACKOUT] Remove CodeCache::mark_for_evol_deoptimization() method
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-06-23
  • Updated: 2021-07-01
  • Resolved: 2021-06-23
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 b04Fixed
Description
In email discussion with [~vaivanov], he pointed out that we do have to deoptimize all nmethods with late attach because adding evol_methods dependencies also adds the Method* to the metadata.  This Method* is what redefinition uses to find if there are old methods in the nmethod.
So we still need to deoptimize all the nmethods if evol_method dependencies aren't enabled in the ON_LOAD phase.
Backing out change and redoing with simple removal of the function we no longer need.  I think this is easiest.
Comments
Changeset: 52d5d1b3 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2021-06-23 14:26:30 +0000 URL: https://git.openjdk.java.net/jdk/commit/52d5d1b3617731bf312aa5813bf7e78ca4dacb00
23-06-2021