On 2018-05-15 03:45, Ivan Gerasimov wrote:
let's move the line
586         final int otherModCount = other.modCount;
to the beginning of equalsArrayList(ArrayList<?> other), so it is initialized before other.size is read?

Sure, let's also pick up on Martin's suggestion to rewrite the control flow and minimize bytecode:

http://cr.openjdk.java.net/~redestad/8196340/open.03/

/Claes

Reply via email to