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 TestPLABPromotion 26 * @bug 8141278 8141141 27 * @summary Test PLAB promotion 28 * @requires vm.gc=="G1" | vm.gc=="null" 29 * @requires vm.opt.FlightRecorder != true 30 * @library /testlibrary /test/lib / 31 * @modules java.base/jdk.internal.misc 32 * @modules java.management 33 * @build ClassFileInstaller 34 * sun.hotspot.WhiteBox 35 * gc.g1.plab.lib.MemoryConsumer 36 * gc.g1.plab.lib.LogParser 37 * gc.g1.plab.lib.AppPLABPromotion 38 * @run main ClassFileInstaller sun.hotspot.WhiteBox 39 * sun.hotspot.WhiteBox$WhiteBoxPermission 40 * @run main/timeout=240 gc.g1.plab.TestPLABPromotion 41 */ 42 package gc.g1.plab; 43 44 import java.util.List; 45 import java.util.Arrays; 46 import java.io.PrintStream; 47 48 import gc.g1.plab.lib.AppPLABPromotion; 49 import gc.g1.plab.lib.LogParser; | 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 TestPLABPromotion 26 * @bug 8141278 8141141 27 * @summary Test PLAB promotion 28 * @requires vm.gc == "G1" | vm.gc == "null" 29 * @requires vm.flightRecorder != true 30 * @library /testlibrary /test/lib / 31 * @modules java.base/jdk.internal.misc 32 * @modules java.management 33 * @build ClassFileInstaller 34 * sun.hotspot.WhiteBox 35 * gc.g1.plab.lib.MemoryConsumer 36 * gc.g1.plab.lib.LogParser 37 * gc.g1.plab.lib.AppPLABPromotion 38 * @run main ClassFileInstaller sun.hotspot.WhiteBox 39 * sun.hotspot.WhiteBox$WhiteBoxPermission 40 * @run main/timeout=240 gc.g1.plab.TestPLABPromotion 41 */ 42 package gc.g1.plab; 43 44 import java.util.List; 45 import java.util.Arrays; 46 import java.io.PrintStream; 47 48 import gc.g1.plab.lib.AppPLABPromotion; 49 import gc.g1.plab.lib.LogParser; |