< prev index next >

test/compiler/c2/cr6714694/Tester.java

Print this page




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  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  * @test
  26  * @bug 6714694
  27  * @summary assertion in 64bit server vm (store->find_edge(load) != -1,"missing precedence edge") with COOPs
  28  * @run main/othervm -Xcomp Tester

  29  */
  30 

  31 /* Complexity upper bound: 38602 ops */
  32 
  33 interface Tester_Interface_0 {
  34 }
  35 
  36 
  37 abstract class Tester_Class_1 implements Tester_Interface_0 {
  38     static int var_1 = (false ? (short)'b' : (short)-2.4256387E38F) | (byte)('g' * -7.660532860983624E307);
  39     float var_2;
  40     byte var_3;
  41     static boolean var_4 = true;
  42     double var_5 = 8.818325751338691E307;
  43     Object var_6;
  44     static short var_7;
  45     final static char var_8 = 'x';
  46     final static float var_9 = 2.2030989E38F;
  47 
  48 
  49     public Tester_Class_1()
  50     {




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  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  * @test
  26  * @bug 6714694
  27  * @summary assertion in 64bit server vm (store->find_edge(load) != -1,"missing precedence edge") with COOPs
  28  *
  29  * @run main/othervm -Xcomp compiler.c2.cr6714694.Tester
  30  */
  31 
  32 package compiler.c2.cr6714694;
  33 /* Complexity upper bound: 38602 ops */
  34 
  35 interface Tester_Interface_0 {
  36 }
  37 
  38 
  39 abstract class Tester_Class_1 implements Tester_Interface_0 {
  40     static int var_1 = (false ? (short)'b' : (short)-2.4256387E38F) | (byte)('g' * -7.660532860983624E307);
  41     float var_2;
  42     byte var_3;
  43     static boolean var_4 = true;
  44     double var_5 = 8.818325751338691E307;
  45     Object var_6;
  46     static short var_7;
  47     final static char var_8 = 'x';
  48     final static float var_9 = 2.2030989E38F;
  49 
  50 
  51     public Tester_Class_1()
  52     {


< prev index next >