Tools or VM agents to verify hashCode/equals/compareTo contracts

Tim Bell tim.bell at oracle.com
Thu Apr 4 08:21:16 PDT 2013


On 04/04/13 01:35, Alan Bateman wrote:
> On The TimSort then I assume you know there is a system property to 
> use merge sort (this will of course hide the problem as before but 
> useful as a get-of-jail card if you need it).

In that case, a debug or assert checking mode could do the sorting both 
ways and then compare the results...

Tim




More information about the serviceability-dev mailing list