[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: java.nio - optimization for direct buffers
From: |
Michael Koch |
Subject: |
Patch: java.nio - optimization for direct buffers |
Date: |
Thu, 22 Apr 2004 09:30:30 +0200 |
User-agent: |
KMail/1.5.4 |
Hi list,
I just commited the attached patch to merge a fix to java.nio direct
buffers from libgcj to GNU classpath. Now mapped byte buffers use the
optimized shiftDown() method of DirectByteBufferImpl and view buffers
can call the optimized method too when they are a view to a direct byte
buffer.
Michael
2004-04-22 Michael Koch <address@hidden>
* java/nio/DirectByteBufferImpl.java
(shiftDown): Overwrite shiftDown method from ByteBuffer.
* java/nio/MappedByteBufferImpl.java
(compact): Use optimized shiftDown() method.
nio.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch: java.nio - optimization for direct buffers,
Michael Koch <=