java.io.Reader.read(java.nio.CharBuffer target) could check to see if the target buffer is a heap buffer and if so, its backing array could be obtained so that the characters can be copied directly into it rather than making an intermediate array.
- relates to
-
JDK-8266014 Regression brought by optimization done with JDK-4926314
-
- Closed
-