RFR: 8073093: AARCH64: C2 generates poor code for ByteBuffer accesses
Ulf Zibis
Ulf.Zibis at CoSoCo.de
Tue Feb 17 13:44:40 UTC 2015
Am 17.02.2015 um 11:53 schrieb Andrew Haley:
> On 02/17/2015 10:49 AM, Florian Weimer wrote:
>> That is, the byte array is supplied by the caller, and if we wanted to
>> use a ByteBuffer, we would have to allocate a fresh one on every
>> iteration. In this case, neither of the two alternatives you list apply.
> I see. So the question could also be whether escape analysis would
> notice that a ByteBuffer does not escape. I hope to know that soon.
See:
https://bugs.openjdk.java.net/browse/JDK-6908239
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6914113
-Ulf
More information about the core-libs-dev
mailing list