Right now GrowableArray by default calls E's copy constructor when the backing array is resized and moved. This is unnecessary, it should instead explicitly call the move constructor. The advantage of this is that NONCOPYABLE classes can now be stored by the GrowableArray.
- relates to
-
JDK-8301373 Potential use after free in GrowableArray
- Open
- links to
-
Review openjdk/jdk/15344