[9] RFR(M): 7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times

Albert Noll albert.noll at oracle.com
Thu Jan 9 07:21:18 PST 2014


Hi Roland,

yes, VerifyDependencies is only true in debug builds. This patch should 
make debug builds execute
faster.

Best,
Albert


On 01/09/2014 03:54 PM, Roland Westrelin wrote:
> Hi Albert,
>
>> Problem:
>> The dependency verification code in CodeCache::mark_for_deoptimization walks over all live nmethods in the code cache and checks all dependencies for each nmethod. This leads to checking the same dependency multiple times which can take a huge amount of time.
> Isn’t it only when VerifyDependencies is true on non product build? Why does it matter?
>
> Roland.



More information about the hotspot-compiler-dev mailing list