On Mar 11, 2015, at 7:23 PM, Andrew Haley <a...@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:

  hotspot/test/runtime/Unsafe

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
 */

Paul.
 

Reply via email to