On Wed, 16 Jun 2021 13:10:55 GMT, Evgeny Astigeevich <github.com+42899633+eas...@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. > > LGTM Thanks @eastig . ------------- PR: https://git.openjdk.java.net/jdk/pull/4509