Skip to content

Commit

Permalink
Merge pull request #846 from theresa-m/triage_17135
Browse files Browse the repository at this point in the history
Add Xdump to diagnose intermittent JSR166TestCase failures
  • Loading branch information
pshipton authored Nov 11, 2024
2 parents 7bc831a + bd6b543 commit bd9d3b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/jdk/java/util/concurrent/tck/JSR166TestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @summary Conformance testing variant of JSR-166 tck tests.
* @build *
* @modules java.management
* @run junit/othervm/timeout=1000 JSR166TestCase
* @run junit/othervm/timeout=1000 -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit* JSR166TestCase
*/

/*
Expand All @@ -53,13 +53,15 @@
* --add-opens java.base/java.lang=ALL-UNNAMED
* -Djsr166.testImplementationDetails=true
* -Djava.util.concurrent.ForkJoinPool.common.parallelism=0
* -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
* JSR166TestCase
* @run junit/othervm/timeout=1000
* --add-opens java.base/java.util.concurrent=ALL-UNNAMED
* --add-opens java.base/java.lang=ALL-UNNAMED
* -Djsr166.testImplementationDetails=true
* -Djava.util.concurrent.ForkJoinPool.common.parallelism=1
* -Djava.util.secureRandomSeed=true
* -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
* JSR166TestCase
*/

Expand All @@ -74,11 +76,13 @@
* --add-opens java.base/java.util.concurrent=ALL-UNNAMED
* --add-opens java.base/java.lang=ALL-UNNAMED
* -Djsr166.testImplementationDetails=true
* -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
* JSR166TestCase
* @run junit/othervm/timeout=1000/policy=tck.policy
* --add-opens java.base/java.util.concurrent=ALL-UNNAMED
* --add-opens java.base/java.lang=ALL-UNNAMED
* -Djsr166.testImplementationDetails=true
* -Xdump:system+java+snap:events=systhrow,filter=java/lang/Exception,msg_filter=*JUnit*
* JSR166TestCase
*/

Expand Down

0 comments on commit bd9d3b6

Please sign in to comment.