view tests-custom/src/main/resources/org/openjdk/jcstress/desc/tearing-buffers.xml @ 66:d7f7a93800e4

Rewire the grading levels: introduce ACCEPTABLE_SPEC, remove REQUIRED, renames.
author shade
date Thu, 28 Nov 2013 19:10:32 +0400
parents dd797d922f1c
children 7a9f5f818d94
line wrap: on
line source

    Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.

    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 if you need additional information or have any


    <template name="main">
        <contributed-by>Aleksey Shipilev (</contributed-by>
            Tests if interleaved operations on the buffer experience word tearing.
            <match>[0, 128, 128]</match>
                Seeing all updates intact.
                All other cases are unexpected.

    <test template="main" name="org.openjdk.jcstress.tests.tearing.buffers.ByteBufferInterleaveTest" />
    <test template="main" name="org.openjdk.jcstress.tests.tearing.buffers.CharBufferInterleaveTest" />
    <test template="main" name="org.openjdk.jcstress.tests.tearing.buffers.DirectByteBufferInterleaveTest" />
    <test template="main" name="org.openjdk.jcstress.tests.tearing.buffers.DoubleBufferInterleaveTest" />
    <test template="main" name="org.openjdk.jcstress.tests.tearing.buffers.FloatBufferInterleaveTest" />
    <test template="main" name="org.openjdk.jcstress.tests.tearing.buffers.IntBufferInterleaveTest" />
    <test template="main" name="org.openjdk.jcstress.tests.tearing.buffers.LongBufferInterleaveTest" />
    <test template="main" name="org.openjdk.jcstress.tests.tearing.buffers.ShortBufferInterleaveTest" />