test/compiler/intrinsics/string/TestHasNegatives.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hs Sdiff test/compiler/intrinsics/string

test/compiler/intrinsics/string/TestHasNegatives.java

Print this page
rev 10503 : 8144693: Intrinsify StringCoding.hasNegatives() on SPARC
Summary: Implemented C2 instrinsic for StringCode.hasNegatives() on SPARC.
Reviewed-by: kvn, jrose, thartmann
Contributed-by: Guy Delamarter <guy.delamarter@oracle.com>
rev 10508 : 8152640: Quarantine compiler/intrinsics/string/TestHasNegatives.java
Summary: Quarantine test
Reviewed-by: thartmann


   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /*
  27  * @test
  28  * @bug 8054307

  29  * @summary Validates StringCoding.hasNegatives intrinsic with a small range of tests.
  30  * @run main/bootclasspath java.lang.TestHasNegatives
  31  */
  32 package java.lang;
  33 
  34 import java.lang.StringCoding;
  35 
  36 /*
  37  * @summary Validates StringCoding.hasNegatives intrinsic with a small
  38  *          range of tests.  Must be run with modified bootclasspath
  39  *          to allow existence in java.lang package.
  40  */
  41 public class TestHasNegatives {
  42 
  43     private static byte[] tBa = new byte[4096 + 16];
  44 
  45     /**
  46      * Completely initialize the test array, preparing it for tests of the
  47      * StringCoding.hasNegatives method with a given array segment offset,
  48      * length, and number of negative bytes.




   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /*
  27  * @test
  28  * @bug 8054307
  29  * @ignore 8152636
  30  * @summary Validates StringCoding.hasNegatives intrinsic with a small range of tests.
  31  * @run main/bootclasspath java.lang.TestHasNegatives
  32  */
  33 package java.lang;
  34 
  35 import java.lang.StringCoding;
  36 
  37 /*
  38  * @summary Validates StringCoding.hasNegatives intrinsic with a small
  39  *          range of tests.  Must be run with modified bootclasspath
  40  *          to allow existence in java.lang package.
  41  */
  42 public class TestHasNegatives {
  43 
  44     private static byte[] tBa = new byte[4096 + 16];
  45 
  46     /**
  47      * Completely initialize the test array, preparing it for tests of the
  48      * StringCoding.hasNegatives method with a given array segment offset,
  49      * length, and number of negative bytes.


test/compiler/intrinsics/string/TestHasNegatives.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File