Integrated: 8264941: Remove CodeCache::mark_for_evol_deoptimization() method

Coleen Phillimore coleenp at openjdk.java.net
Tue Jun 22 16:12:34 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.

This pull request has now been integrated.

Changeset: 33c23a1c
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/33c23a1cf2aa81551eee4a2acf271edf573558aa
Stats:     78 lines in 7 files changed: 0 ins; 73 del; 5 mod

8264941: Remove CodeCache::mark_for_evol_deoptimization() method

Reviewed-by: kvn, vlivanov, sspitsyn

-------------

PR: https://git.openjdk.java.net/jdk/pull/4509


More information about the hotspot-dev mailing list