classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cp-patches] [Patch] support for direct buffers


From: Jeroen Frijters
Subject: RE: [cp-patches] [Patch] support for direct buffers
Date: Thu, 18 Nov 2004 17:45:41 +0100

Hi,

Here are some IKVM (running on .NET 1.1) performance results for the
attached microbenchmark.

C:\j>\ikvm\bin\ikvm direct
210
sum = 1336934400
200
sum = 1336934400

C:\j>\jdk1.5\bin\java direct
360
sum = 1336934400
391
sum = 1336934400

C:\j>\jdk1.5\bin\java -server direct
270
sum = 1336934400
91
sum = 1336934400

I had to replace DirectByteBufferImpl.get/put with hand written CIL
instructions to achieve this, but I think the result is worth it.

Regards,
Jeroen

Attachment: direct.java
Description: direct.java


reply via email to

[Prev in Thread] Current Thread [Next in Thread]