提交 2f608285 编写于 作者: I igerasim

8166840: Synthetic bridge constructor in ArrayList$Itr blocks inlining

Reviewed-by: vlivanov, mhaupt, forax
上级 706bdea7
...@@ -842,6 +842,8 @@ public class ArrayList<E> extends AbstractList<E> ...@@ -842,6 +842,8 @@ public class ArrayList<E> extends AbstractList<E>
int lastRet = -1; // index of last element returned; -1 if no such int lastRet = -1; // index of last element returned; -1 if no such
int expectedModCount = modCount; int expectedModCount = modCount;
Itr() {}
public boolean hasNext() { public boolean hasNext() {
return cursor != size; return cursor != size;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册