Swap should be better done native?
martinrb at google.com
Sat Apr 10 23:34:54 PDT 2010
I will help put some form of these changes into the JDK.
My colleague HIroshi Yamauchi will be adding the
missing intrinsification for Character.reverseBytes
and Short.reverseBytes to hotspot. Because of this,
we should not use my idea of having Character.reverseBytes
The changes to genBuffer.sh should be tested in
a complete clean build. I will help with this offline.
On Sat, Apr 10, 2010 at 09:59, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
> Now I think, I've managed the make file.
> Here my 1st two changed changes...
> Would be nice, you would have a look at it. with some luck, the genBuffer.sh
> will run without errors.
> See attachments.
> - Most, but not all, i.e. Float, Double, SIZE constants were at "wrong"
> position. I have corrected this.
> - I too think, serialVersionIDs should be positioned more upper, e.g. as
> last of all static finals.
> - Use intrinsified reverseBytes operation; Omit zero shifts.
More information about the nio-dev