File tree Expand file tree Collapse file tree 9 files changed +17
-22
lines changed
src/java.base/share/classes/sun/security/util
hotspot/jtreg/resourcehogs/compiler/intrinsics/string Expand file tree Collapse file tree 9 files changed +17
-22
lines changed Original file line number Diff line number Diff line change 5959 * However, note that because of the way SoftReferences are implemented in
6060 * HotSpot at the moment, this may not work perfectly as it clears them fairly
6161 * eagerly. Performance may be improved if the Java heap size is set to larger
62- * value using e.g. java -ms64M -mx128M foo.Test
62+ * value using e.g. java -Xms64M -Xmx128M foo.Test
6363 *
6464 * Cache sizing: the memory cache is implemented on top of a LinkedHashMap.
6565 * In its current implementation, the number of buckets (NOT entries) in
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2016, 2022 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2016, 2024 , Oracle and/or its affiliates. All rights reserved.
33 * Copyright (c) 2016 SAP SE. All rights reserved.
44 * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
55 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3535 * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
3636 *
3737 * @run main/othervm
38- * -mx8G
38+ * -Xmx8G
3939 * -Xbootclasspath/a:.
4040 * -Xmixed
4141 * -XX:+UnlockDiagnosticVMOptions
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
3838 * @bug 8159696
3939 * @library /javax/swing/regtesthelpers
4040 * @compile ./stub/Stub.java
41- * @run main/othervm -mx32M UnloadClassBeanInfo
41+ * @run main/othervm -Xmx32M UnloadClassBeanInfo
4242 */
4343public class UnloadClassBeanInfo {
4444
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2525 * @test
2626 * @bug 5102804
2727 * @summary Tests memory leak
28- * @author Sergey Malenkov
29- * @run main/othervm -ms16m -mx16m Test5102804
28+ * @run main/othervm -Xms16m -Xmx16m Test5102804
3029 */
3130
3231import java .beans .BeanInfo ;
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2727 * @test
2828 * @bug 8027905
2929 * @summary Tests that GC does not affect a property type
30- * @author Sergey Malenkov
31- * @run main/othervm -mx16m Test8027905
30+ * @run main/othervm -Xmx16m Test8027905
3231 */
3332
3433public class Test8027905 {
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2004, 2010 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2004, 2024 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2525 * @test
2626 * @bug 4646747
2727 * @summary Tests that persistence delegate is correct after memory stress
28- * @author Mark Davidson
29- * @run main/othervm -ms16m -mx16m Test4646747
28+ * @run main/othervm -Xms16m -Xmx16m Test4646747
3029 */
3130
3231import java .beans .DefaultPersistenceDelegate ;
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 1997, 2005 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 1997, 2024 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2424/* @test
2525 * @bug 4076287
2626 * @summary Invoking get on a SoftReference shouldn't pin the referent
27- * @run main/othervm -ms16m -mx16m Pin
28- * @author Peter Jones
29- * @author Mark Reinhold
27+ * @run main/othervm -Xms16m -Xmx16m Pin
3028 */
3129
3230
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2626 * @summary Ensure that direct memory can be unreserved
2727 * as the reserving thread sleeps
2828 *
29- * @run main/othervm -mx16M Chew
29+ * @run main/othervm -Xmx16M Chew
3030 */
3131
3232import java .nio .*;
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2015, 2023 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2015, 2024 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
4242public class JImageToolTest {
4343 private static void jimage (String ... jimageArgs ) throws Exception {
4444 ArrayList <String > args = new ArrayList <>();
45- args .add ("-ms64m " );
45+ args .add ("-Xms64m " );
4646 args .add ("jdk.tools.jimage.Main" );
4747 args .addAll (Arrays .asList (jimageArgs ));
4848
You can’t perform that action at this time.
0 commit comments