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

Albert Noll albert.noll at oracle.com
Tue Jan 14 03:53:39 PST 2014

Hi Roland,

thanks for looking at the patch. You are right, the overloaded '==' 
operator is not used as
proposed by Christian. I think this is not possible in the current 
version, since the GrowableArray
stores pointers to DependencySinatures.

This version does not overload the '==' operator. Two 
DependencySignatures are compared
by an 'equals()' function.

Here is the new webrev:


On 01/14/2014 12:26 PM, Roland Westrelin wrote:
> Hi Albert,
>> @Christian: The current version uses an overloaded '==' operator in the class DependencySignature.
> Isn’t the reason to overload == that you can then use find/contains methods from GrowableArray? Unless I’m missing something I don’t see that it is the case.
> Roland.

More information about the hotspot-compiler-dev mailing list