RFR: 8264941: Remove CodeCache::mark_for_evol_deoptimization() method
Coleen Phillimore
coleenp at openjdk.java.net
Mon Jun 21 13:03:32 UTC 2021
On Wed, 16 Jun 2021 12:52:46 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This change removes the mark_for_evol_deoptimization method and removes the flag that all dependencies are recorded. Before the change to walk the entire nmethod looking for "old" (redefined) methods with metadata_do(), we used to find methods in the code cache to deoptimize based on evol_method dependencies. If the dependencies weren't yet recorded, we had to deoptimize all of the methods. A long time ago, we had a customer who was unhappy with the pause for this when they had late attach. Now we don't have this problem.
> The evol_method dependencies are still used by the compiler to check for old methods during compilation. I didn't change this but it might be something someone who knows the compiler better can do differently and remove these dependencies too.
> Tested with tier1-6.
Thank you both Vladimir.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4509
More information about the serviceability-dev
mailing list