JDK 9 RFR of JDK-8147480: Mark FJExceptionTableLeak.java as intermittently failing

joe darcy joe.darcy at oracle.com
Fri Jan 15 18:01:01 UTC 2016


Hello,

We've seen some more low-frequency failures of

java/util/concurrent/forkjoin/FJExceptionTableLeak.java

Please review the patch below which records the known-intermittentness  
in the source of the test and demotes the test from tier 1 to tier 2. 
When the issue is resolved (JDK-8144990), the the keyword can be removed 
and the test raised up to tier 1 again.

Thanks,

-Joe

diff -r e00d22e96e6e test/TEST.groups
--- a/test/TEST.groups    Thu Jan 14 12:04:19 2016 -0800
+++ b/test/TEST.groups    Fri Jan 15 10:00:18 2016 -0800
@@ -1,4 +1,4 @@
-#  Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights 
reserved.
+#  Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights 
reserved.
  #  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  #
  #  This code is free software; you can redistribute it and/or modify it
@@ -32,6 +32,7 @@
      :jdk_util \
      -java/util/WeakHashMap/GCDuringIteration.java \
      -java/util/concurrent/ThreadPoolExecutor/ConfigChanges.java
+    -java/util/concurrent/forkjoin/FJExceptionTableLeak.java
      sun/nio/cs/ISO8859x.java \
      java/nio/Buffer \
      com/sun/crypto/provider/Cipher \
@@ -42,6 +43,7 @@
      java/util/zip/TestLocalTime.java \
      java/util/WeakHashMap/GCDuringIteration.java \
      java/util/concurrent/ThreadPoolExecutor/ConfigChanges.java \
+    java/util/concurrent/forkjoin/FJExceptionTableLeak.java
      :jdk_io \
      :jdk_nio \
      -sun/nio/cs/ISO8859x.java \
diff -r e00d22e96e6e 
test/java/util/concurrent/forkjoin/FJExceptionTableLeak.java
--- a/test/java/util/concurrent/forkjoin/FJExceptionTableLeak.java Thu 
Jan 14 12:04:19 2016 -0800
+++ b/test/java/util/concurrent/forkjoin/FJExceptionTableLeak.java Fri 
Jan 15 10:00:18 2016 -0800
@@ -37,6 +37,7 @@
   * @bug 8004138
   * @summary Check if ForkJoinPool table leaks thrown exceptions.
   * @run main/othervm -Xmx2200k FJExceptionTableLeak
+ * @key intermittent
   */

  import java.util.concurrent.ForkJoinPool;




More information about the core-libs-dev mailing list