changeset 196:dd504bf7980a

Remove odd causality tests.
author shade
date Wed, 13 Aug 2014 01:54:14 +0400
parents 6afebe248808
children 604e5b38893c
files tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/BooleanLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/ByteLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/CharLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/DoubleLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/FloatLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/IntLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/LongLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/ObjectLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/ShortLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/BooleanLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/ByteLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/CharLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/DoubleLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/FloatLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/IntLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/LongLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/ObjectLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/ShortLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/BooleanLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/ByteLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/CharLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/DoubleLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/FloatLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/IntLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/LongLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/ObjectLazyTest.java tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/ShortLazyTest.java tests-custom/src/main/resources/org/openjdk/jcstress/desc/causality.xml
diffstat 28 files changed, 0 insertions(+), 1761 deletions(-) [+]
line wrap: on
line diff
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/BooleanLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.BooleanResult2;
-
-@JCStressTest
-@State
-public class BooleanLazyTest {
-
-    boolean f;
-
-    @Actor
-    public void actor1(BooleanResult2 r) {
-        boolean f = this.f;
-        if (!f) {
-            f = true;
-            this.f = f;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(BooleanResult2 r) {
-        boolean f = this.f;
-        if (!f) {
-            f = true;
-            this.f = f;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/ByteLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.ByteResult2;
-
-@JCStressTest
-@State
-public class ByteLazyTest {
-
-    byte f;
-
-    @Actor
-    public void actor1(ByteResult2 r) {
-        byte f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(ByteResult2 r) {
-        byte f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/CharLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.CharResult2;
-
-@JCStressTest
-@State
-public class CharLazyTest {
-
-    char f;
-
-    @Actor
-    public void actor1(CharResult2 r) {
-        char f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r1 = (char) (f + 'A');
-    }
-
-    @Actor
-    public void actor2( CharResult2 r) {
-        char f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r2 = (char) (f + 'A');
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/DoubleLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.DoubleResult2;
-
-@JCStressTest
-@State
-public class DoubleLazyTest {
-
-    double f;
-
-    @Actor
-    public void actor1(DoubleResult2 r) {
-        double f = this.f;
-        if (f == 0D) {
-            f = 1D;
-            this.f = f;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(DoubleResult2 r) {
-        double f = this.f;
-        if (f == 0D) {
-            f = 1D;
-            this.f = f;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/FloatLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.FloatResult2;
-
-@JCStressTest
-@State
-public class FloatLazyTest {
-
-    float f;
-
-    @Actor
-    public void actor1(FloatResult2 r) {
-        float f = this.f;
-        if (f == 0F) {
-            f = 1F;
-            this.f = f;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(FloatResult2 r) {
-        float f = this.f;
-        if (f == 0F) {
-            f = 1F;
-            this.f = f;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/IntLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.IntResult2;
-
-@JCStressTest
-@State
-public class IntLazyTest {
-
-    int f;
-
-    @Actor
-    public void actor1(IntResult2 r) {
-        int f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(IntResult2 r) {
-        int f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/LongLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.LongResult2;
-
-@JCStressTest
-@State
-public class LongLazyTest {
-
-    long f;
-
-    @Actor
-    public void actor1(LongResult2 r) {
-        long f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(LongResult2 r) {
-        long f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/ObjectLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.IntResult2;
-
-@JCStressTest
-@State
-public class ObjectLazyTest {
-
-    Object f;
-
-    @Actor
-    public void actor1(IntResult2 r) {
-        Object f = this.f;
-        if (f == null) {
-            f = new Object();
-            this.f = f;
-        }
-        r.r1 = (f == null) ? 0 : 1;
-    }
-
-    @Actor
-    public void actor2(IntResult2 r) {
-        Object f = this.f;
-        if (f == null) {
-            f = new Object();
-            this.f = f;
-        }
-        r.r2 = (f == null) ? 0 : 1;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/cached/ShortLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.cached;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.ShortResult2;
-
-@JCStressTest
-@State
-public class ShortLazyTest {
-
-    short f;
-
-    @Actor
-    public void actor1(ShortResult2 r) {
-        short f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(ShortResult2 r) {
-        short f = this.f;
-        if (f == 0) {
-            f = 1;
-            this.f = f;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/BooleanLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.BooleanResult2;
-
-@JCStressTest
-@State
-public class BooleanLazyTest {
-
-    boolean f;
-
-    @Actor
-    public void actor1(BooleanResult2 r) {
-        if (!f) {
-            f = true;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(BooleanResult2 r) {
-        if (!f) {
-            f = true;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/ByteLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.ByteResult2;
-
-@JCStressTest
-@State
-public class ByteLazyTest {
-
-    byte f;
-
-    @Actor
-    public void actor1(ByteResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(ByteResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/CharLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.CharResult2;
-
-@JCStressTest
-@State
-public class CharLazyTest {
-
-    char f;
-
-    @Actor
-    public void actor1(CharResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = (char) (f + 'A');
-    }
-
-    @Actor
-    public void actor2(CharResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = (char) (f + 'A');
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/DoubleLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.DoubleResult2;
-
-@JCStressTest
-@State
-public class DoubleLazyTest {
-
-    double f;
-
-    @Actor
-    public void actor1(DoubleResult2 r) {
-        if (f == 0D) {
-            f = 1D;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(DoubleResult2 r) {
-        if (f == 0D) {
-            f = 1D;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/FloatLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.FloatResult2;
-
-@JCStressTest
-@State
-public class FloatLazyTest {
-
-    float f;
-
-    @Actor
-    public void actor1(FloatResult2 r) {
-        if (f == 0F) {
-            f = 1F;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(FloatResult2 r) {
-        if (f == 0F) {
-            f = 1F;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/IntLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.IntResult2;
-
-@JCStressTest
-@State
-public class IntLazyTest {
-
-    int f;
-
-    @Actor
-    public void actor1(IntResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(IntResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/LongLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.LongResult2;
-
-@JCStressTest
-@State
-public class LongLazyTest {
-
-    long f;
-
-    @Actor
-    public void actor1(LongResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(LongResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/ObjectLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.IntResult2;
-
-@JCStressTest
-@State
-public class ObjectLazyTest {
-
-    Object f;
-
-    @Actor
-    public void actor1(IntResult2 r) {
-        if (f == null) {
-            f = new Object();
-        }
-        r.r1 = (f == null) ? 0 : 1;
-    }
-
-    @Actor
-    public void actor2(IntResult2 r) {
-        if (f == null) {
-            f = new Object();
-        }
-        r.r2 = (f == null) ? 0 : 1;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/plain/ShortLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.plain;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.ShortResult2;
-
-@JCStressTest
-@State
-public class ShortLazyTest {
-
-    short f;
-
-    @Actor
-    public void actor1(ShortResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(ShortResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/BooleanLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.BooleanResult2;
-
-@JCStressTest
-@State
-public class BooleanLazyTest {
-
-    volatile boolean f;
-
-    @Actor
-    public void actor1(BooleanResult2 r) {
-        if (!f) {
-            f = true;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(BooleanResult2 r) {
-        if (!f) {
-            f = true;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/ByteLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.ByteResult2;
-
-@JCStressTest
-@State
-public class ByteLazyTest {
-
-    volatile byte f;
-
-    @Actor
-    public void actor1(ByteResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(ByteResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/CharLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.CharResult2;
-
-@JCStressTest
-@State
-public class CharLazyTest {
-
-    volatile char f;
-
-    @Actor
-    public void actor1(CharResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = (char) (f + 'A');
-    }
-
-    @Actor
-    public void actor2(CharResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = (char) (f + 'A');
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/DoubleLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.DoubleResult2;
-
-@JCStressTest
-@State
-public class DoubleLazyTest {
-
-    volatile double f;
-
-    @Actor
-    public void actor1(DoubleResult2 r) {
-        if (f == 0D) {
-            f = 1D;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(DoubleResult2 r) {
-        if (f == 0D) {
-            f = 1D;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/FloatLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.FloatResult2;
-
-@JCStressTest
-@State
-public class FloatLazyTest {
-
-    volatile float f;
-
-    @Actor
-    public void actor1(FloatResult2 r) {
-        if (f == 0F) {
-            f = 1F;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(FloatResult2 r) {
-        if (f == 0F) {
-            f = 1F;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/IntLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.IntResult2;
-
-@JCStressTest
-@State
-public class IntLazyTest {
-
-    volatile int f;
-
-    @Actor
-    public void actor1(IntResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(IntResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/LongLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.LongResult2;
-
-@JCStressTest
-@State
-public class LongLazyTest {
-
-    volatile long f;
-
-    @Actor
-    public void actor1(LongResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(LongResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/ObjectLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.IntResult2;
-
-@JCStressTest
-@State
-public class ObjectLazyTest {
-
-    volatile Object f;
-
-    @Actor
-    public void actor1(IntResult2 r) {
-        if (f == null) {
-            f = new Object();
-        }
-        r.r1 = (f == null) ? 0 : 1;
-    }
-
-    @Actor
-    public void actor2(IntResult2 r) {
-        if (f == null) {
-            f = new Object();
-        }
-        r.r2 = (f == null) ? 0 : 1;
-    }
-
-}
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/causality/lazyinit/volatiles/ShortLazyTest.java	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package org.openjdk.jcstress.tests.causality.lazyinit.volatiles;
-
-import org.openjdk.jcstress.annotations.Actor;
-import org.openjdk.jcstress.annotations.JCStressTest;
-import org.openjdk.jcstress.annotations.State;
-import org.openjdk.jcstress.infra.results.ShortResult2;
-
-@JCStressTest
-@State
-public class ShortLazyTest {
-
-    volatile short f;
-
-    @Actor
-    public void actor1(ShortResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r1 = f;
-    }
-
-    @Actor
-    public void actor2(ShortResult2 r) {
-        if (f == 0) {
-            f = 1;
-        }
-        r.r2 = f;
-    }
-
-}
--- a/tests-custom/src/main/resources/org/openjdk/jcstress/desc/causality.xml	Wed Aug 13 01:50:01 2014 +0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,267 +0,0 @@
-<!--
-
-    Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
-    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
-    This code is free software; you can redistribute it and/or modify it
-    under the terms of the GNU General Public License version 2 only, as
-    published by the Free Software Foundation.  Oracle designates this
-    particular file as subject to the "Classpath" exception as provided
-    by Oracle in the LICENSE file that accompanied this code.
-
-    This code is distributed in the hope that it will be useful, but WITHOUT
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-    version 2 for more details (a copy is included in the LICENSE file that
-    accompanied this code).
-
-    You should have received a copy of the GNU General Public License version
-    2 along with this work; if not, write to the Free Software Foundation,
-    Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-
-    Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
-    or visit www.oracle.com if you need additional information or have any
-    questions.
-
--->
-<testsuite>
-
-    <template name="int_defaultValue">
-        <contributed-by>Aleksey Shipilev (aleksey.shipilev@oracle.com)</contributed-by>
-        <description>Checks if re-reading the field picks up the same value.</description>
-        <case>
-            <match>[0, 1]</match>
-            <match>[1, 0]</match>
-            <expect>ACCEPTABLE_INTERESTING</expect>
-            <description>
-                There is the race on the field. Second read can still read the default value.
-            </description>
-        </case>
-        <case>
-            <match>[1, 1]</match>
-            <expect>ACCEPTABLE</expect>
-            <description>
-                Everything is OK: both threads have the initialized value.
-            </description>
-        </case>
-        <unmatched>
-            <expect>FORBIDDEN</expect>
-            <description>
-                This case is not expected.
-            </description>
-        </unmatched>
-    </template>
-
-    <template name="float_defaultValue">
-        <contributed-by>Aleksey Shipilev (aleksey.shipilev@oracle.com)</contributed-by>
-        <description>Checks if re-reading the field picks up the same value.</description>
-        <case>
-            <match>[0.0, 1.0]</match>
-            <match>[1.0, 0.0]</match>
-            <expect>ACCEPTABLE_INTERESTING</expect>
-            <description>
-                There is the race on the field. Second read can still read the default value.
-            </description>
-        </case>
-        <case>
-            <match>[1.0, 1.0]</match>
-            <expect>ACCEPTABLE</expect>
-            <description>
-                Everything is OK: both threads have the initialized value.
-            </description>
-        </case>
-        <unmatched>
-            <expect>FORBIDDEN</expect>
-            <description>
-                This case is not expected.
-            </description>
-        </unmatched>
-    </template>
-
-    <template name="char_defaultValue">
-        <contributed-by>Aleksey Shipilev (aleksey.shipilev@oracle.com)</contributed-by>
-        <description>Checks if re-reading the field picks up the same value.</description>
-        <case>
-            <match>[A, B]</match>
-            <match>[B, A]</match>
-            <expect>ACCEPTABLE_INTERESTING</expect>
-            <description>
-                There is the race on the field. Second read can still read the default value.
-            </description>
-        </case>
-        <case>
-            <match>[B, B]</match>
-            <expect>ACCEPTABLE</expect>
-            <description>
-                Everything is OK: both threads have the initialized value.
-            </description>
-        </case>
-        <unmatched>
-            <expect>FORBIDDEN</expect>
-            <description>
-                This case is not expected.
-            </description>
-        </unmatched>
-    </template>
-
-    <template name="boolean_defaultValue">
-        <contributed-by>Aleksey Shipilev (aleksey.shipilev@oracle.com)</contributed-by>
-        <description>Checks if re-reading the field picks up the same value.</description>
-        <case>
-            <match>[true, false]</match>
-            <match>[false, true]</match>
-            <expect>ACCEPTABLE_INTERESTING</expect>
-            <description>
-                There is the race on the field. Second read can still read the default value.
-            </description>
-        </case>
-        <case>
-            <match>[true, true]</match>
-            <expect>ACCEPTABLE</expect>
-            <description>
-                Everything is OK: both threads have the initialized value.
-            </description>
-        </case>
-        <unmatched>
-            <expect>FORBIDDEN</expect>
-            <description>
-                This case is not expected.
-            </description>
-        </unmatched>
-    </template>
-
-    <template name="int_completeInit">
-        <contributed-by>Aleksey Shipilev (aleksey.shipilev@oracle.com)</contributed-by>
-        <description>Checks if re-reading the field picks up the same value.</description>
-        <case>
-            <match>[0, 1]</match>
-            <match>[1, 0]</match>
-            <expect>FORBIDDEN</expect>
-            <description>
-                One of the actor threads had read the the default value; even though it set
-            </description>
-        </case>
-        <case>
-            <match>[1, 1]</match>
-            <expect>ACCEPTABLE</expect>
-            <description>
-                Everything is OK: both threads have the initialized value.
-            </description>
-        </case>
-        <unmatched>
-            <expect>FORBIDDEN</expect>
-            <description>
-                This case is not expected.
-            </description>
-        </unmatched>
-    </template>
-
-    <template name="float_completeInit">
-        <contributed-by>Aleksey Shipilev (aleksey.shipilev@oracle.com)</contributed-by>
-        <description>Checks if re-reading the field picks up the same value.</description>
-        <case>
-            <match>[0.0, 1.0]</match>
-            <match>[1.0, 0.0]</match>
-            <expect>FORBIDDEN</expect>
-            <description>
-                One of the actor threads had read the the default value; even though it set
-            </description>
-        </case>
-        <case>
-            <match>[1.0, 1.0]</match>
-            <expect>ACCEPTABLE</expect>
-            <description>
-                Everything is OK: both threads have the initialized value.
-            </description>
-        </case>
-        <unmatched>
-            <expect>FORBIDDEN</expect>
-            <description>
-                This case is not expected.
-            </description>
-        </unmatched>
-    </template>
-
-    <template name="char_completeInit">
-        <contributed-by>Aleksey Shipilev (aleksey.shipilev@oracle.com)</contributed-by>
-        <description>Checks if re-reading the field picks up the same value.</description>
-        <case>
-            <match>[A, B]</match>
-            <match>[B, A]</match>
-            <expect>FORBIDDEN</expect>
-            <description>
-                One of the actor threads had read the the default value; even though it set
-            </description>
-        </case>
-        <case>
-            <match>[B, B]</match>
-            <expect>ACCEPTABLE</expect>
-            <description>
-                Everything is OK: both threads have the initialized value.
-            </description>
-        </case>
-        <unmatched>
-            <expect>FORBIDDEN</expect>
-            <description>
-                This case is not expected.
-            </description>
-        </unmatched>
-    </template>
-
-    <template name="boolean_completeInit">
-        <contributed-by>Aleksey Shipilev (aleksey.shipilev@oracle.com)</contributed-by>
-        <description>Checks if re-reading the field picks up the same value.</description>
-        <case>
-            <match>[true, false]</match>
-            <match>[false, true]</match>
-            <expect>FORBIDDEN</expect>
-            <description>
-                One of the actor threads had read the the default value; even though it set
-            </description>
-        </case>
-        <case>
-            <match>[true, true]</match>
-            <expect>ACCEPTABLE</expect>
-            <description>
-                Everything is OK: both threads have the initialized value.
-            </description>
-        </case>
-        <unmatched>
-            <expect>FORBIDDEN</expect>
-            <description>
-                This case is not expected.
-            </description>
-        </unmatched>
-    </template>
-
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.BooleanLazyTest"    template="boolean_defaultValue"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.ByteLazyTest"       template="int_defaultValue"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.CharLazyTest"       template="char_defaultValue"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.DoubleLazyTest"     template="float_defaultValue"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.FloatLazyTest"      template="float_defaultValue"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.IntLazyTest"        template="int_defaultValue"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.LongLazyTest"       template="int_defaultValue"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.ObjectLazyTest"     template="int_defaultValue"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.plain.ShortLazyTest"      template="int_defaultValue"/>
-
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.BooleanLazyTest"    template="boolean_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.ByteLazyTest"       template="int_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.CharLazyTest"       template="char_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.DoubleLazyTest"     template="float_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.FloatLazyTest"      template="float_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.IntLazyTest"        template="int_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.LongLazyTest"       template="int_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.ObjectLazyTest"     template="int_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.volatiles.ShortLazyTest"      template="int_completeInit"/>
-
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.BooleanLazyTest"    template="boolean_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.ByteLazyTest"       template="int_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.CharLazyTest"       template="char_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.DoubleLazyTest"     template="float_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.FloatLazyTest"      template="float_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.IntLazyTest"        template="int_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.LongLazyTest"       template="int_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.ObjectLazyTest"     template="int_completeInit"/>
-    <test name="org.openjdk.jcstress.tests.causality.lazyinit.cached.ShortLazyTest"      template="int_completeInit"/>
-
-</testsuite>