Skip to content

Commit 9a6ef52

Browse files
author
SendaoYan
committed
8359272: Several vmTestbase/compact tests timed out on large memory machine
Backport-of: eb727dcb51963add7966a9d86b08520a003af0ca
1 parent 346d749 commit 9a6ef52

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

test/hotspot/jtreg/vmTestbase/vm/gc/compact/Compact_InternedStrings/TestDescription.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2025, 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
@@ -34,9 +34,11 @@
3434
* This testcase uses interned strings for both first and second phases
3535
* and multiple threads.
3636
*
37+
* @requires os.maxMemory > 3G
3738
* @library /vmTestbase
3839
* /test/lib
3940
* @run main/othervm
41+
* -Xmx2G
4042
* -XX:-UseGCOverheadLimit
4143
* vm.gc.compact.Compact
4244
* -gp interned(randomString)

test/hotspot/jtreg/vmTestbase/vm/gc/compact/Compact_InternedStrings_NonbranchyTree/TestDescription.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2025, 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
@@ -34,9 +34,11 @@
3434
* This testcase uses interned strings for first phase,
3535
* random arrays for second phases and multiple threads.
3636
*
37+
* @requires os.maxMemory > 3G
3738
* @library /vmTestbase
3839
* /test/lib
3940
* @run main/othervm
41+
* -Xmx2G
4042
* -XX:-UseGCOverheadLimit
4143
* vm.gc.compact.Compact
4244
* -gp interned(randomString)

test/hotspot/jtreg/vmTestbase/vm/gc/compact/Compact_Strings_ArrayOf/TestDescription.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2025, 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
@@ -34,9 +34,11 @@
3434
* This testcase uses random strings for first phase, array of
3535
* random strings for second phase and multiple threads.
3636
*
37+
* @requires os.maxMemory > 3G
3738
* @library /vmTestbase
3839
* /test/lib
3940
* @run main/othervm
41+
* -Xmx2G
4042
* -XX:-UseGCOverheadLimit
4143
* vm.gc.compact.Compact
4244
* -gp randomString

test/hotspot/jtreg/vmTestbase/vm/gc/compact/Humongous_InternedStrings/TestDescription.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2025, 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
@@ -34,9 +34,11 @@
3434
* This testcase uses interned strings for both first and second phases
3535
* and multiple threads.
3636
*
37+
* @requires os.maxMemory > 3G
3738
* @library /vmTestbase
3839
* /test/lib
3940
* @run main/othervm
41+
* -Xmx2G
4042
* -XX:-UseGCOverheadLimit
4143
* vm.gc.compact.Compact
4244
* -gp interned(randomString)

0 commit comments

Comments
 (0)