< prev index next >

test/compiler/c2/cr6711117/Test.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke


   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 /*
  26  * @test
  27  * @bug 6711117
  28  * @summary Assertion in 64bit server vm (flat != TypePtr::BOTTOM,"cannot alias-analyze an untyped ptr")
  29  * @run main/othervm -Xcomp -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts -XX:+UseCompressedOops Test



  30  */
  31 


  32 final class Test_Class_0 {
  33     final static char var_1 = 'E';
  34     short var_2 = 16213;
  35     final static String var_3 = "jiiibmmsk";
  36 
  37 
  38     public Test_Class_0()
  39     {
  40         var_2 ^= 'M';
  41         final String var_18 = var_3;
  42         var_2--;
  43         var_2 |= (byte)('D' / (byte)var_2) - ((byte)1.6680514E38F << + ((byte)'O') & 7320241275829036032L);
  44         func_2(((!false & false | false ? true : false) ? true : true | !true) ? var_2 : 834513107);
  45         var_2 >>>= var_1;
  46         "smiosoebk".codePointCount(true ^ (false ^ ! !false) ? (byte)- ((byte)430513598) : + ((byte)'_'), ~ (true ? (byte)']' : (byte)-2.8272547997066827E307));
  47         var_2 -= true ? var_1 : var_1;
  48         var_2 ^= var_1;
  49         var_2 &= (var_2 |= ~ ((byte)(var_2 *= var_2)));
  50         long var_19 = 0L;
  51         short var_20 = var_2 += 'P';




   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 /*
  26  * @test
  27  * @bug 6711117
  28  * @summary Assertion in 64bit server vm (flat != TypePtr::BOTTOM,"cannot alias-analyze an untyped ptr")
  29  *
  30  * @run main/othervm -Xcomp -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts
  31  *      -XX:+UseCompressedOops
  32  *       compiler.c2.cr6711117.Test
  33  */
  34 
  35 package compiler.c2.cr6711117;
  36 
  37 final class Test_Class_0 {
  38     final static char var_1 = 'E';
  39     short var_2 = 16213;
  40     final static String var_3 = "jiiibmmsk";
  41 
  42 
  43     public Test_Class_0()
  44     {
  45         var_2 ^= 'M';
  46         final String var_18 = var_3;
  47         var_2--;
  48         var_2 |= (byte)('D' / (byte)var_2) - ((byte)1.6680514E38F << + ((byte)'O') & 7320241275829036032L);
  49         func_2(((!false & false | false ? true : false) ? true : true | !true) ? var_2 : 834513107);
  50         var_2 >>>= var_1;
  51         "smiosoebk".codePointCount(true ^ (false ^ ! !false) ? (byte)- ((byte)430513598) : + ((byte)'_'), ~ (true ? (byte)']' : (byte)-2.8272547997066827E307));
  52         var_2 -= true ? var_1 : var_1;
  53         var_2 ^= var_1;
  54         var_2 &= (var_2 |= ~ ((byte)(var_2 *= var_2)));
  55         long var_19 = 0L;
  56         short var_20 = var_2 += 'P';


< prev index next >