< prev index next >

test/hotspot/jtreg/gc/ArraySize.java

Print this page
rev 53861 : [mq]: 8219139

*** 1,7 **** /* ! * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 23,35 **** /* * @test * @bug 4063078 * @summary Allocating a ridiculously large array should not crash the VM ! * @run main/othervm -Xmx32m -Xms32m ArraySize */ public class ArraySize { public static void main(String[] args) throws Exception { boolean thrown = false; try { --- 23,37 ---- /* * @test * @bug 4063078 * @summary Allocating a ridiculously large array should not crash the VM ! * @run main/othervm -Xmx32m -Xms32m gc.ArraySize */ + package gc; + public class ArraySize { public static void main(String[] args) throws Exception { boolean thrown = false; try {
< prev index next >