changeset 11455:dafee8e3eecd

Augment WriteBarrier Addition Test (unsafe load) to account for compressed oops
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Wed, 28 Aug 2013 15:22:51 +0200
parents ea7a15d708a8
children 95a56d151d27
files graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/WriteBarrierAdditionTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/WriteBarrierAdditionTest.java	Wed Aug 28 15:22:22 2013 +0200
+++ b/graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/WriteBarrierAdditionTest.java	Wed Aug 28 15:22:51 2013 +0200
@@ -195,7 +195,7 @@
      */
     @Test
     public void test10() throws Exception {
-        test2("testUnsafeLoad", wr, new Long(8), new Integer(8));
+        test2("testUnsafeLoad", wr, new Long(useCompressedOops() ? 6 : 8), new Integer(useCompressedOops() ? 6 : 8));
     }
 
     /**