test/compiler/6431242/Test.java

Print this page
rev 4502 : 7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option
Summary: Small changes to hotspot tests to remove  "-server" and replace with ${TESTVMOPTS}
Reviewed-by: kvn


   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 /*
  26  * @test
  27  * @bug 6431242
  28  * @run main/othervm -server -XX:+PrintCompilation Test
  29  */
  30 
  31 public class Test{
  32 
  33   int    _len      = 8;
  34   int[]  _arr_i    = new int[_len];
  35   long[] _arr_l    = new long[_len];
  36 
  37   int[]  _arr_i_cp = new int [_len];
  38   long[] _arr_l_cp = new long [_len];
  39 
  40   int _k     = 0x12345678;
  41   int _j     = 0;
  42   int _ir    = 0x78563412;
  43   int _ir1   = 0x78563413;
  44   int _ir2   = 0x79563412;
  45 
  46   long _m    = 0x123456789abcdef0L;
  47   long _l    = 0L;
  48   long _lr   = 0xf0debc9a78563412L;




   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 /*
  26  * @test
  27  * @bug 6431242
  28  * @run main Test
  29  */
  30 
  31 public class Test{
  32 
  33   int    _len      = 8;
  34   int[]  _arr_i    = new int[_len];
  35   long[] _arr_l    = new long[_len];
  36 
  37   int[]  _arr_i_cp = new int [_len];
  38   long[] _arr_l_cp = new long [_len];
  39 
  40   int _k     = 0x12345678;
  41   int _j     = 0;
  42   int _ir    = 0x78563412;
  43   int _ir1   = 0x78563413;
  44   int _ir2   = 0x79563412;
  45 
  46   long _m    = 0x123456789abcdef0L;
  47   long _l    = 0L;
  48   long _lr   = 0xf0debc9a78563412L;