# HG changeset patch # User Christos Kotselidis # Date 1377696171 -7200 # Node ID dafee8e3eecd8ef99bcf90f6c631e225f9037d7b # Parent ea7a15d708a850b6167cc81d204ef69f2faf6fb5 Augment WriteBarrier Addition Test (unsafe load) to account for compressed oops diff -r ea7a15d708a8 -r dafee8e3eecd graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/WriteBarrierAdditionTest.java --- 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)); } /**