Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 3d99b8f

Browse files
Viktor KlangAlan Bateman
authored andcommitted
8309218: java/util/concurrent/locks/Lock/OOMEInAQS.java still times out with ZGC, Generational ZGC, and SerialGC
Reviewed-by: alanb Backport-of: b86c3b7a68335d57699ea3c5ec6d09a62ea9026a
1 parent 64b4949 commit 3d99b8f

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

test/jdk/ProblemList-generational-zgc.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2020, 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
@@ -38,4 +38,3 @@ sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java 8307393 generic-all
3838
sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java 8307393 generic-all
3939

4040
com/sun/jdi/ThreadMemoryLeakTest.java 8307402 generic-all
41-
java/util/concurrent/locks/Lock/OOMEInAQS.java 8309218 generic-all

test/jdk/ProblemList-zgc.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2020, 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
@@ -27,7 +27,5 @@
2727
#
2828
#############################################################################
2929

30-
java/util/concurrent/locks/Lock/OOMEInAQS.java 8309218 generic-all
31-
3230
sun/tools/jhsdb/JShellHeapDumpTest.java 8276539 generic-all
3331
sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java 8276539 generic-all

test/jdk/java/util/concurrent/locks/Lock/OOMEInAQS.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2022, 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
@@ -38,7 +38,8 @@
3838
* @test
3939
* @bug 8066859
4040
* @summary Check that AQS-based locks, conditions, and CountDownLatches do not fail when encountering OOME
41-
* @run main/othervm -XX:-UseGCOverheadLimit -Xmx48M -XX:-UseTLAB OOMEInAQS
41+
* @requires vm.gc.G1
42+
* @run main/othervm -XX:+UseG1GC -XX:-UseGCOverheadLimit -Xmx48M -XX:-UseTLAB OOMEInAQS
4243
*/
4344

4445
public class OOMEInAQS extends Thread {

0 commit comments

Comments
 (0)