Mercurial > hg > truffle
changeset 9805:53bc0557baaf
reverted temporary commenting out of MonitorTests
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 23 May 2013 18:13:32 +0200 |
parents | 79d65c694a3b |
children | 21b8cd853b2b |
files | graal/com.oracle.graal.replacements.test/src/com/oracle/graal/replacements/test/MonitorTest.java |
diffstat | 1 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.replacements.test/src/com/oracle/graal/replacements/test/MonitorTest.java Thu May 23 16:49:01 2013 +0200 +++ b/graal/com.oracle.graal.replacements.test/src/com/oracle/graal/replacements/test/MonitorTest.java Thu May 23 18:13:32 2013 +0200 @@ -31,33 +31,33 @@ @Test public void test0() { -// test("lockObjectSimple", new Object(), new Object()); -// test("lockObjectSimple", new Object(), null); + test("lockObjectSimple", new Object(), new Object()); + test("lockObjectSimple", new Object(), null); test("lockObjectSimple", null, null); } - // @Test + @Test public void test0_1() { test("lockThisSimple", "test1", new Object()); test("lockThisSimple", "test1", null); } - // @Test + @Test public void test0_2() { test("lockObjectSimple", null, "test1"); } - // @Test + @Test public void test1_1() { test("lockObject", new Object(), "test1", new String[1]); } - // @Test + @Test public void test1_2() { test("lockObject", null, "test1_1", new String[1]); } - // @Test + @Test public void test2() { test("lockThis", "test2", new String[1]); } @@ -65,7 +65,7 @@ /** * Tests monitor operations on {@link PartialEscapeAnalysisPhase virtual objects}. */ - // @Test + @Test public void test3() { test("lockLocalObject", "test3", new String[1]); } @@ -73,7 +73,7 @@ /** * Tests recursive locking of objects which should be biasable. */ - // @Test + @Test public void test4() { Chars src = new Chars("1234567890".toCharArray()); Chars dst = new Chars(src.data.length); @@ -83,7 +83,7 @@ /** * Tests recursive locking of objects which do not appear to be biasable. */ - // @Test + @Test public void test5() { char[] src = "1234567890".toCharArray(); char[] dst = new char[src.length]; @@ -93,7 +93,7 @@ /** * Extends {@link #test4()} with contention. */ - // @Test + @Test public void test6() { Chars src = new Chars("1234567890".toCharArray()); Chars dst = new Chars(src.data.length); @@ -104,7 +104,7 @@ /** * Extends {@link #test5()} with contention. */ - // @Test + @Test public void test7() { char[] src = "1234567890".toCharArray(); char[] dst = new char[src.length];