-
Bug
-
Resolution: Fixed
-
P4
-
23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8340789 | 23.0.2 | Sendao Yan | P4 | Resolved | Fixed | b01 |
test command:
export test=test/langtools/tools/javac/patterns/Exhaustiveness.java
function runJtreg() { jtreg -ea -esa -timeoutFactor:4 -v:fail,error,time,nopass -nr -w $dir/index-$1 $test &> $dir/$1.log ; if [[ 0 -ne $? ]] ; then echo -n "$1 " ; else rm -rf $dir/index-$1 $dir/$1.log ; fi ; } ; export -f runJtreg ; export dir="tmp-jtreg-"`basename ${test##* } .java | sed "s|#|_|"` ; rm -rf $dir ; mkdir -p $dir ; time seq 1000 | xargs -i -n 1 -P `nproc` bash -c "runJtreg {}" ; echo total fail number: `ls $dir/*.log 2> /dev/null | wc | awk '{print $1}'`
"MainThread" #31 [3420400] prio=5 os_prio=0 cpu=473147.08ms elapsed=480.05s tid=0x00007f0214205d00 nid=3420400 runnable [0x00007f01d83f6000]
java.lang.Thread.State: RUNNABLE
at com.sun.tools.javac.code.Type$ClassType.accept(jdk.compiler@23/Type.java:1053)
at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(jdk.compiler@23/Types.java:4909)
at com.sun.tools.javac.code.Types.erasure(jdk.compiler@23/Types.java:2404)
at com.sun.tools.javac.code.Types.erasure(jdk.compiler@23/Types.java:2390)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceBindingPatterns(jdk.compiler@23/Flow.java:940)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1067)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1063)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1063)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1063)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1063)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.exhausts(jdk.compiler@23/Flow.java:824)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.visitSwitch(jdk.compiler@23/Flow.java:726)
at com.sun.tools.javac.tree.JCTree$JCSwitch.accept(jdk.compiler@23/JCTree.java:1299)
at com.sun.tools.javac.tree.TreeScanner.scan(jdk.compiler@23/TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(jdk.compiler@23/Flow.java:463)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.scanStat(jdk.compiler@23/Flow.java:546)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.scanStats(jdk.compiler@23/Flow.java:554)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.visitBlock(jdk.compiler@23/Flow.java:640)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(jdk.compiler@23/JCTree.java:1092)
at com.sun.tools.javac.tree.TreeScanner.scan(jdk.compiler@23/TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(jdk.compiler@23/Flow.java:463)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.scanStat(jdk.compiler@23/Flow.java:546)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.visitMethodDef(jdk.compiler@23/Flow.java:604)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(jdk.compiler@23/JCTree.java:916)
at com.sun.tools.javac.tree.TreeScanner.scan(jdk.compiler@23/TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(jdk.compiler@23/Flow.java:463)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.visitClassDef(jdk.compiler@23/Flow.java:584)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(jdk.compiler@23/JCTree.java:814)
at com.sun.tools.javac.tree.TreeScanner.scan(jdk.compiler@23/TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(jdk.compiler@23/Flow.java:463)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.analyzeTree(jdk.compiler@23/Flow.java:1337)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.analyzeTree(jdk.compiler@23/Flow.java:1329)
at com.sun.tools.javac.comp.Flow.analyzeTree(jdk.compiler@23/Flow.java:230)
at com.sun.tools.javac.main.JavaCompiler.flow(jdk.compiler@23/JavaCompiler.java:1418)
at com.sun.tools.javac.main.JavaCompiler.flow(jdk.compiler@23/JavaCompiler.java:1392)
at com.sun.tools.javac.main.JavaCompiler.compile(jdk.compiler@23/JavaCompiler.java:977)
at com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(jdk.compiler@23/JavacTaskImpl.java:104)
at com.sun.tools.javac.api.JavacTaskImpl$$Lambda/0x00007f018b036938.call(jdk.compiler@23/Unknown Source)
at com.sun.tools.javac.api.JavacTaskImpl.invocationHelper(jdk.compiler@23/JavacTaskImpl.java:152)
at com.sun.tools.javac.api.JavacTaskImpl.doCall(jdk.compiler@23/JavacTaskImpl.java:100)
at toolbox.JavacTask.runAPI(JavacTask.java:400)
at toolbox.JavacTask.run(JavacTask.java:339)
at toolbox.AbstractTask.run(AbstractTask.java:71)
at toolbox.JavacTask.run(JavacTask.java:52)
at Exhaustiveness.doTest(Exhaustiveness.java:2119)
at Exhaustiveness.doTest(Exhaustiveness.java:2080)
at Exhaustiveness.testDeeplyNestedNotExhaustive(Exhaustiveness.java:1644)
at java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(java.base@23/DirectMethodHandle$Holder)
at java.lang.invoke.LambdaForm$MH/0x00007f018b004c00.invoke(java.base@23/LambdaForm$MH)
at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@23/Invokers$Holder)
at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@23/DirectMethodHandleAccessor.java:154)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@23/DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke(java.base@23/Method.java:580)
at toolbox.TestRunner.runTests(TestRunner.java:91)
at Exhaustiveness.runTests(Exhaustiveness.java:66)
at Exhaustiveness.main(Exhaustiveness.java:57)
at java.lang.invoke.LambdaForm$DMH/0x00007f018b002000.invokeStatic(java.base@23/LambdaForm$DMH)
at java.lang.invoke.LambdaForm$MH/0x00007f018b003400.invoke(java.base@23/LambdaForm$MH)
at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@23/Invokers$Holder)
at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@23/DirectMethodHandleAccessor.java:154)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@23/DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke(java.base@23/Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.lang.Thread.runWith(java.base@23/Thread.java:1588)
at java.lang.Thread.run(java.base@23/Thread.java:1575)
export test=test/langtools/tools/javac/patterns/Exhaustiveness.java
function runJtreg() { jtreg -ea -esa -timeoutFactor:4 -v:fail,error,time,nopass -nr -w $dir/index-$1 $test &> $dir/$1.log ; if [[ 0 -ne $? ]] ; then echo -n "$1 " ; else rm -rf $dir/index-$1 $dir/$1.log ; fi ; } ; export -f runJtreg ; export dir="tmp-jtreg-"`basename ${test##* } .java | sed "s|#|_|"` ; rm -rf $dir ; mkdir -p $dir ; time seq 1000 | xargs -i -n 1 -P `nproc` bash -c "runJtreg {}" ; echo total fail number: `ls $dir/*.log 2> /dev/null | wc | awk '{print $1}'`
"MainThread" #31 [3420400] prio=5 os_prio=0 cpu=473147.08ms elapsed=480.05s tid=0x00007f0214205d00 nid=3420400 runnable [0x00007f01d83f6000]
java.lang.Thread.State: RUNNABLE
at com.sun.tools.javac.code.Type$ClassType.accept(jdk.compiler@23/Type.java:1053)
at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(jdk.compiler@23/Types.java:4909)
at com.sun.tools.javac.code.Types.erasure(jdk.compiler@23/Types.java:2404)
at com.sun.tools.javac.code.Types.erasure(jdk.compiler@23/Types.java:2390)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceBindingPatterns(jdk.compiler@23/Flow.java:940)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1067)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1063)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1063)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1063)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.reduceNestedPatterns(jdk.compiler@23/Flow.java:1063)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.exhausts(jdk.compiler@23/Flow.java:824)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.visitSwitch(jdk.compiler@23/Flow.java:726)
at com.sun.tools.javac.tree.JCTree$JCSwitch.accept(jdk.compiler@23/JCTree.java:1299)
at com.sun.tools.javac.tree.TreeScanner.scan(jdk.compiler@23/TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(jdk.compiler@23/Flow.java:463)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.scanStat(jdk.compiler@23/Flow.java:546)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.scanStats(jdk.compiler@23/Flow.java:554)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.visitBlock(jdk.compiler@23/Flow.java:640)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(jdk.compiler@23/JCTree.java:1092)
at com.sun.tools.javac.tree.TreeScanner.scan(jdk.compiler@23/TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(jdk.compiler@23/Flow.java:463)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.scanStat(jdk.compiler@23/Flow.java:546)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.visitMethodDef(jdk.compiler@23/Flow.java:604)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(jdk.compiler@23/JCTree.java:916)
at com.sun.tools.javac.tree.TreeScanner.scan(jdk.compiler@23/TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(jdk.compiler@23/Flow.java:463)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.visitClassDef(jdk.compiler@23/Flow.java:584)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(jdk.compiler@23/JCTree.java:814)
at com.sun.tools.javac.tree.TreeScanner.scan(jdk.compiler@23/TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(jdk.compiler@23/Flow.java:463)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.analyzeTree(jdk.compiler@23/Flow.java:1337)
at com.sun.tools.javac.comp.Flow$AliveAnalyzer.analyzeTree(jdk.compiler@23/Flow.java:1329)
at com.sun.tools.javac.comp.Flow.analyzeTree(jdk.compiler@23/Flow.java:230)
at com.sun.tools.javac.main.JavaCompiler.flow(jdk.compiler@23/JavaCompiler.java:1418)
at com.sun.tools.javac.main.JavaCompiler.flow(jdk.compiler@23/JavaCompiler.java:1392)
at com.sun.tools.javac.main.JavaCompiler.compile(jdk.compiler@23/JavaCompiler.java:977)
at com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(jdk.compiler@23/JavacTaskImpl.java:104)
at com.sun.tools.javac.api.JavacTaskImpl$$Lambda/0x00007f018b036938.call(jdk.compiler@23/Unknown Source)
at com.sun.tools.javac.api.JavacTaskImpl.invocationHelper(jdk.compiler@23/JavacTaskImpl.java:152)
at com.sun.tools.javac.api.JavacTaskImpl.doCall(jdk.compiler@23/JavacTaskImpl.java:100)
at toolbox.JavacTask.runAPI(JavacTask.java:400)
at toolbox.JavacTask.run(JavacTask.java:339)
at toolbox.AbstractTask.run(AbstractTask.java:71)
at toolbox.JavacTask.run(JavacTask.java:52)
at Exhaustiveness.doTest(Exhaustiveness.java:2119)
at Exhaustiveness.doTest(Exhaustiveness.java:2080)
at Exhaustiveness.testDeeplyNestedNotExhaustive(Exhaustiveness.java:1644)
at java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(java.base@23/DirectMethodHandle$Holder)
at java.lang.invoke.LambdaForm$MH/0x00007f018b004c00.invoke(java.base@23/LambdaForm$MH)
at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@23/Invokers$Holder)
at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@23/DirectMethodHandleAccessor.java:154)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@23/DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke(java.base@23/Method.java:580)
at toolbox.TestRunner.runTests(TestRunner.java:91)
at Exhaustiveness.runTests(Exhaustiveness.java:66)
at Exhaustiveness.main(Exhaustiveness.java:57)
at java.lang.invoke.LambdaForm$DMH/0x00007f018b002000.invokeStatic(java.base@23/LambdaForm$DMH)
at java.lang.invoke.LambdaForm$MH/0x00007f018b003400.invoke(java.base@23/LambdaForm$MH)
at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@23/Invokers$Holder)
at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@23/DirectMethodHandleAccessor.java:154)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@23/DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke(java.base@23/Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.lang.Thread.runWith(java.base@23/Thread.java:1588)
at java.lang.Thread.run(java.base@23/Thread.java:1575)
- backported by
-
JDK-8340789 tools/javac/patterns/Exhaustiveness.java intermittently Timeout signalled after 480 seconds
- Resolved
- links to
-
Commit(master) openjdk/jdk23u/a21db48d
-
Commit(master) openjdk/jdk/a18d9d84
-
Review(master) openjdk/jdk23u/95
-
Review(master) openjdk/jdk/20836