Unsafe.{get,put}-X-Unaligned performance

Paul Sandoz paul.sandoz at oracle.com
Thu Mar 12 09:54:38 UTC 2015

On Mar 11, 2015, at 7:23 PM, Andrew Haley <aph at redhat.com> wrote:

> On 03/11/2015 06:00 PM, Paul Sandoz wrote:
>> We need to include some unit tests before we can push.
> I have a test which I've been using.  It could be converted into
> a unit test.

Ok. There are Unsafe tests in:


So we could place it there.

In this particular case i think we would need to run without and with the flag UseUnalignedAccesses set to false. IIUC that just means two @run entries defined for jtreg to crunch on e.g.:

 * @test 
 * @bug XXXXXXX 
 * @run TestUnalignedAccess
 * @run main/othervm -XX:-UseUnalignedAccesses TestUnalignedAccess

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150312/1ea50667/signature-0001.asc>

More information about the hotspot-compiler-dev mailing list