< prev index next >

test/compiler/c2/Test7160610.java

Print this page




  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 /**
  26  * @test
  27  * @bug 7160610
  28  * @summary Unknown Native Code compilation issue.
  29  *
  30  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-OptimizeFill Test7160610
  31  */


  32 
  33 public class Test7160610 {
  34   private static final byte[] BYTE_ARRAY = new byte[7];
  35   private static int[] anIntArray1190 = new int[32768];
  36   private static int[] anIntArray1191 = new int[32768];
  37 
  38   public static void main(String arg[]) {
  39     int i = 256;
  40     for(int j = BYTE_ARRAY[2]; j < anIntArray1190.length; j++) {
  41       anIntArray1190[j] = BYTE_ARRAY[2];
  42     }
  43 
  44     for(int k = BYTE_ARRAY[2]; (k ^ BYTE_ARRAY[1]) > -5001; k++) {
  45       int i1 = (int)(Math.random() * 128D * (double)i);
  46       anIntArray1190[i1] = (int)(Math.random() * 256D);
  47     }
  48 
  49     for(int l = BYTE_ARRAY[2]; (l ^ BYTE_ARRAY[1]) > -21; l++) {
  50       for(int j1 = BYTE_ARRAY[0]; j1 < i + -BYTE_ARRAY[0]; j1++) {
  51         for(int k1 = BYTE_ARRAY[0]; (k1 ^ BYTE_ARRAY[1]) > -128; k1++) {


  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 /**
  26  * @test
  27  * @bug 7160610
  28  * @summary Unknown Native Code compilation issue.
  29  *
  30  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-OptimizeFill compiler.c2.Test7160610
  31  */
  32 
  33 package compiler.c2;
  34 
  35 public class Test7160610 {
  36   private static final byte[] BYTE_ARRAY = new byte[7];
  37   private static int[] anIntArray1190 = new int[32768];
  38   private static int[] anIntArray1191 = new int[32768];
  39 
  40   public static void main(String arg[]) {
  41     int i = 256;
  42     for(int j = BYTE_ARRAY[2]; j < anIntArray1190.length; j++) {
  43       anIntArray1190[j] = BYTE_ARRAY[2];
  44     }
  45 
  46     for(int k = BYTE_ARRAY[2]; (k ^ BYTE_ARRAY[1]) > -5001; k++) {
  47       int i1 = (int)(Math.random() * 128D * (double)i);
  48       anIntArray1190[i1] = (int)(Math.random() * 256D);
  49     }
  50 
  51     for(int l = BYTE_ARRAY[2]; (l ^ BYTE_ARRAY[1]) > -21; l++) {
  52       for(int j1 = BYTE_ARRAY[0]; j1 < i + -BYTE_ARRAY[0]; j1++) {
  53         for(int k1 = BYTE_ARRAY[0]; (k1 ^ BYTE_ARRAY[1]) > -128; k1++) {
< prev index next >