JDK-8186618 : [TESTBUG] Test applications/ctw/Modules.java doesn't have timeout and hang on windows
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-08-22
  • Updated: 2019-09-13
  • Resolved: 2017-10-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b33Fixed
Related Reports
Duplicate :  
Relates :  
Description
The timeout is 0 in ctw/Modules.java
 * @run main/timeout=0 sun.hotspot.tools.ctw.CtwRunner modules

Comments
19-10-2017

JDK-8189604 has been created for a bug in awt.
18-10-2017

[~serb], did you mean that the code was added to jdk10? you should be able to run this test using jdk9 bits: jtreg -jdk:${jdk9_bin} -dir:${jdk10_ws/hotspot/test} applications/ctw/Modules.java
24-08-2017

The code which hangs was added to jdk9 in JDK-8183529, is it possible to check this issue is a regression in 10 or exists since jdk9?
23-08-2017

I remember long ago we had problem running CTW with AWT. AWT initialization requires specific order of execution. We should just exclude AWT from CTW runs.
23-08-2017

it hang in <clinit> for sun.awt.shell.Win32ShellFolder2$KnownFolderDefinition: "main" #1 prio=5 os_prio=0 tid=0x000000f3b2325000 nid=0x13fc waiting on condition [0x000000f3b298d000] java.lang.Thread.State: WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@10-internal/Native Method) - parking to wait for <0x000000072ff2de60> (a java.util.concurrent.FutureTask) at java.util.concurrent.locks.LockSupport.park(java.base@10-internal/LockSupport.java:194) at java.util.concurrent.FutureTask.awaitDone(java.base@10-internal/FutureTask.java:447) at java.util.concurrent.FutureTask.get(java.base@10-internal/FutureTask.java:190) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(java.desktop@10-internal/Win32ShellFolderManager2.java:584) at sun.awt.shell.ShellFolder.invoke(java.desktop@10-internal/ShellFolder.java:519) at sun.awt.shell.ShellFolder.invoke(java.desktop@10-internal/ShellFolder.java:505) at sun.awt.shell.Win32ShellFolder2.getLibraries(java.desktop@10-internal/Win32ShellFolder2.java:1290) at sun.awt.shell.Win32ShellFolder2.access$000(java.desktop@10-internal/Win32ShellFolder2.java:75) at sun.awt.shell.Win32ShellFolder2$KnownFolderDefinition.<clinit>(java.desktop@10-internal/Win32ShellFolder2.java:190) at jdk.internal.misc.Unsafe.ensureClassInitialized0(java.base@10-internal/Native Method) at jdk.internal.misc.Unsafe.ensureClassInitialized(java.base@10-internal/Unsafe.java:1042) at sun.hotspot.tools.ctw.Compiler.compileClass(Compiler.java:74)
23-08-2017

got a jstack from one of runs on windows: Full thread dump Java HotSpot(TM) 64-Bit Server VM (10-internal+0-2017-08-22-2229069.igor.ignatyev.hs mixed mode): "Swing-Shell" #32 daemon prio=5 os_prio=0 tid=0x000000f3d92a7800 nid=0x1ac8 in Object.wait() [0x000000f3e753f000] java.lang.Thread.State: RUNNABLE at sun.awt.shell.Win32ShellFolder2.loadKnownFolders(java.desktop@10-internal/Native Method) at sun.awt.shell.Win32ShellFolder2.access$3800(java.desktop@10-internal/Win32ShellFolder2.java:75) at sun.awt.shell.Win32ShellFolder2$19.call(java.desktop@10-internal/Win32ShellFolder2.java:1293) at sun.awt.shell.Win32ShellFolder2$19.call(java.desktop@10-internal/Win32ShellFolder2.java:1290) at java.util.concurrent.FutureTask.run(java.base@10-internal/FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(java.desktop@10-internal/Win32ShellFolderManager2.java:548) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "AWT-Windows" #26 daemon prio=6 os_prio=0 tid=0x000000f3d92a9000 nid=0x318 runnable [0x000000f3e493f000] java.lang.Thread.State: RUNNABLE at sun.awt.windows.WToolkit.eventLoop(java.desktop@10-internal/Native Method) at sun.awt.windows.WToolkit.run(java.desktop@10-internal/WToolkit.java:297) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Java2D Disposer" #24 daemon prio=10 os_prio=2 tid=0x000000f3d92a8800 nid=0x2614 in Object.wait() [0x000000f3e473e000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(java.base@10-internal/Native Method) - waiting on <no object reference available> at java.lang.ref.ReferenceQueue.remove(java.base@10-internal/ReferenceQueue.java:151) - waiting to re-lock in wait() <0x000000072bd80190> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(java.base@10-internal/ReferenceQueue.java:172) at sun.java2d.Disposer.run(java.desktop@10-internal/Disposer.java:144) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Thread-7" #23 daemon prio=5 os_prio=0 tid=0x000000f3d92a5800 nid=0x8e0 runnable [0x000000f3e1b9e000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.Iocp.getQueuedCompletionStatus(java.base@10-internal/Native Method) at sun.nio.ch.Iocp.access$300(java.base@10-internal/Iocp.java:44) at sun.nio.ch.Iocp$EventHandlerTask.run(java.base@10-internal/Iocp.java:323) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(java.base@10-internal/AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Thread-6" #22 daemon prio=5 os_prio=0 tid=0x000000f3d9370800 nid=0x2318 runnable [0x000000f3e1a9e000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.Iocp.getQueuedCompletionStatus(java.base@10-internal/Native Method) at sun.nio.ch.Iocp.access$300(java.base@10-internal/Iocp.java:44) at sun.nio.ch.Iocp$EventHandlerTask.run(java.base@10-internal/Iocp.java:323) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(java.base@10-internal/AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Thread-5" #21 daemon prio=5 os_prio=0 tid=0x000000f3da4b2800 nid=0x1ccc runnable [0x000000f3e199f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.Iocp.getQueuedCompletionStatus(java.base@10-internal/Native Method) at sun.nio.ch.Iocp.access$300(java.base@10-internal/Iocp.java:44) at sun.nio.ch.Iocp$EventHandlerTask.run(java.base@10-internal/Iocp.java:323) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(java.base@10-internal/AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Thread-4" #20 daemon prio=5 os_prio=0 tid=0x000000f3d9cb4800 nid=0xec0 runnable [0x000000f3e189f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.Iocp.getQueuedCompletionStatus(java.base@10-internal/Native Method) at sun.nio.ch.Iocp.access$300(java.base@10-internal/Iocp.java:44) at sun.nio.ch.Iocp$EventHandlerTask.run(java.base@10-internal/Iocp.java:323) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(java.base@10-internal/AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Thread-3" #19 daemon prio=5 os_prio=0 tid=0x000000f3d9233800 nid=0x262c runnable [0x000000f3e179f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.Iocp.getQueuedCompletionStatus(java.base@10-internal/Native Method) at sun.nio.ch.Iocp.access$300(java.base@10-internal/Iocp.java:44) at sun.nio.ch.Iocp$EventHandlerTask.run(java.base@10-internal/Iocp.java:323) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(java.base@10-internal/AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Thread-2" #18 daemon prio=5 os_prio=0 tid=0x000000f3dba6b000 nid=0x1404 runnable [0x000000f3e169f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.Iocp.getQueuedCompletionStatus(java.base@10-internal/Native Method) at sun.nio.ch.Iocp.access$300(java.base@10-internal/Iocp.java:44) at sun.nio.ch.Iocp$EventHandlerTask.run(java.base@10-internal/Iocp.java:323) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(java.base@10-internal/AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Thread-1" #17 daemon prio=5 os_prio=0 tid=0x000000f3d91ac000 nid=0xaf4 runnable [0x000000f3e159f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.Iocp.getQueuedCompletionStatus(java.base@10-internal/Native Method) at sun.nio.ch.Iocp.access$300(java.base@10-internal/Iocp.java:44) at sun.nio.ch.Iocp$EventHandlerTask.run(java.base@10-internal/Iocp.java:323) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Thread-0" #16 daemon prio=5 os_prio=0 tid=0x000000f3db458800 nid=0x2508 runnable [0x000000f3dc25e000] java.lang.Thread.State: RUNNABLE at sun.net.dns.ResolverConfigurationImpl.notifyAddrChange0(java.base@10-internal/Native Method) at sun.net.dns.ResolverConfigurationImpl$AddressChangeListener.run(java.base@10-internal/ResolverConfigurationImpl.java:144) "pool-1-thread-3" #14 prio=5 os_prio=0 tid=0x000000f3d8e92800 nid=0x1268 waiting on condition [0x000000f3d97bf000] java.lang.Thread.State: WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@10-internal/Native Method) - parking to wait for <0x000000071e848250> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(java.base@10-internal/LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@10-internal/AbstractQueuedSynchronizer.java:2062) at java.util.concurrent.ArrayBlockingQueue.take(java.base@10-internal/ArrayBlockingQueue.java:417) at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@10-internal/ThreadPoolExecutor.java:1070) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1130) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "pool-1-thread-2" #13 prio=5 os_prio=0 tid=0x000000f3d8e91800 nid=0xa68 waiting on condition [0x000000f3d96bf000] java.lang.Thread.State: WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@10-internal/Native Method) - parking to wait for <0x000000071e848250> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(java.base@10-internal/LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@10-internal/AbstractQueuedSynchronizer.java:2062) at java.util.concurrent.ArrayBlockingQueue.take(java.base@10-internal/ArrayBlockingQueue.java:417) at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@10-internal/ThreadPoolExecutor.java:1070) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1130) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "pool-1-thread-1" #12 prio=5 os_prio=0 tid=0x000000f3d8f9f800 nid=0x1b54 waiting on condition [0x000000f3d95bf000] java.lang.Thread.State: WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@10-internal/Native Method) - parking to wait for <0x000000071e848250> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(java.base@10-internal/LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@10-internal/AbstractQueuedSynchronizer.java:2062) at java.util.concurrent.ArrayBlockingQueue.take(java.base@10-internal/ArrayBlockingQueue.java:417) at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@10-internal/ThreadPoolExecutor.java:1070) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10-internal/ThreadPoolExecutor.java:1130) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10-internal/ThreadPoolExecutor.java:630) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) "Service Thread" #11 daemon prio=9 os_prio=0 tid=0x000000f3d7d60000 nid=0x11fc runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Common-Cleaner" #10 daemon prio=8 os_prio=1 tid=0x000000f3d7d2c800 nid=0x2e0 in Object.wait() [0x000000f3d89be000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(java.base@10-internal/Native Method) - waiting on <no object reference available> at java.lang.ref.ReferenceQueue.remove(java.base@10-internal/ReferenceQueue.java:151) - waiting to re-lock in wait() <0x000000071e84a138> (a java.lang.ref.ReferenceQueue$Lock) at jdk.internal.ref.CleanerImpl.run(java.base@10-internal/CleanerImpl.java:148) at java.lang.Thread.run(java.base@10-internal/Thread.java:844) at jdk.internal.misc.InnocuousThread.run(java.base@10-internal/InnocuousThread.java:122) "Sweeper thread" #9 daemon prio=9 os_prio=2 tid=0x000000f3d7b73800 nid=0x850 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x000000f3d7b6b000 nid=0x2538 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE No compile task "C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x000000f3d7b65000 nid=0x1a74 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE No compile task "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x000000f3d7b62000 nid=0xfb4 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE No compile task "Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x000000f3d7b5f800 nid=0x27f8 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x000000f3d7b5e800 nid=0x1cb0 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Finalizer" #3 daemon prio=8 os_prio=1 tid=0x000000f3d7b12000 nid=0x1b60 in Object.wait() [0x000000f3d81cf000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(java.base@10-internal/Native Method) - waiting on <no object reference available> at java.lang.ref.ReferenceQueue.remove(java.base@10-internal/ReferenceQueue.java:151) - waiting to re-lock in wait() <0x000000071e848920> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(java.base@10-internal/ReferenceQueue.java:172) at java.lang.ref.Finalizer$FinalizerThread.run(java.base@10-internal/Finalizer.java:216) "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x000000f3d7b08000 nid=0xe4c waiting on condition [0x000000f3d80cf000] java.lang.Thread.State: RUNNABLE at java.lang.ref.Reference.waitForReferencePendingList(java.base@10-internal/Native Method) at java.lang.ref.Reference.processPendingReferences(java.base@10-internal/Reference.java:174) at java.lang.ref.Reference.access$000(java.base@10-internal/Reference.java:44) at java.lang.ref.Reference$ReferenceHandler.run(java.base@10-internal/Reference.java:138) "main" #1 prio=5 os_prio=0 tid=0x000000f3b2325000 nid=0x13fc waiting on condition [0x000000f3b298d000] java.lang.Thread.State: WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@10-internal/Native Method) - parking to wait for <0x000000072ff2de60> (a java.util.concurrent.FutureTask) at java.util.concurrent.locks.LockSupport.park(java.base@10-internal/LockSupport.java:194) at java.util.concurrent.FutureTask.awaitDone(java.base@10-internal/FutureTask.java:447) at java.util.concurrent.FutureTask.get(java.base@10-internal/FutureTask.java:190) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(java.desktop@10-internal/Win32ShellFolderManager2.java:584) at sun.awt.shell.ShellFolder.invoke(java.desktop@10-internal/ShellFolder.java:519) at sun.awt.shell.ShellFolder.invoke(java.desktop@10-internal/ShellFolder.java:505) at sun.awt.shell.Win32ShellFolder2.getLibraries(java.desktop@10-internal/Win32ShellFolder2.java:1290) at sun.awt.shell.Win32ShellFolder2.access$000(java.desktop@10-internal/Win32ShellFolder2.java:75) at sun.awt.shell.Win32ShellFolder2$KnownFolderDefinition.<clinit>(java.desktop@10-internal/Win32ShellFolder2.java:190) at jdk.internal.misc.Unsafe.ensureClassInitialized0(java.base@10-internal/Native Method) at jdk.internal.misc.Unsafe.ensureClassInitialized(java.base@10-internal/Unsafe.java:1042) at sun.hotspot.tools.ctw.Compiler.compileClass(Compiler.java:74) at sun.hotspot.tools.ctw.PathHandler.processClass(PathHandler.java:214) at sun.hotspot.tools.ctw.PathHandler.lambda$process$0(PathHandler.java:183) at sun.hotspot.tools.ctw.PathHandler$$Lambda$44/1783593083.accept(Unknown Source) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(java.base@10-internal/ForEachOps.java:184) at java.util.stream.ReferencePipeline$3$1.accept(java.base@10-internal/ReferencePipeline.java:195) at java.util.stream.ReferencePipeline$3$1.accept(java.base@10-internal/ReferencePipeline.java:195) at java.util.stream.ReferencePipeline$2$1.accept(java.base@10-internal/ReferencePipeline.java:177) at java.util.stream.ReferencePipeline$2$1.accept(java.base@10-internal/ReferencePipeline.java:177) at java.util.Spliterators$ArraySpliterator.forEachRemaining(java.base@10-internal/Spliterators.java:948) at java.util.stream.AbstractPipeline.copyInto(java.base@10-internal/AbstractPipeline.java:484) at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base@10-internal/AbstractPipeline.java:474) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(java.base@10-internal/ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(java.base@10-internal/ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(java.base@10-internal/AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(java.base@10-internal/ReferencePipeline.java:430) at sun.hotspot.tools.ctw.PathHandler.process(PathHandler.java:183) at sun.hotspot.tools.ctw.CompileTheWorld.lambda$main$0(CompileTheWorld.java:82) at sun.hotspot.tools.ctw.CompileTheWorld$$Lambda$30/2008362258.accept(Unknown Source) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(java.base@10-internal/ForEachOps.java:184) at java.util.Collections$2.tryAdvance(java.base@10-internal/Collections.java:4734) at java.util.Collections$2.forEachRemaining(java.base@10-internal/Collections.java:4742) at java.util.stream.ReferencePipeline$Head.forEach(java.base@10-internal/ReferencePipeline.java:591) at java.util.stream.ReferencePipeline$7$1.accept(java.base@10-internal/ReferencePipeline.java:272) at java.util.stream.ReferencePipeline$3$1.accept(java.base@10-internal/ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.forEachRemaining(java.base@10-internal/Spliterators.java:948) at java.util.stream.AbstractPipeline.copyInto(java.base@10-internal/AbstractPipeline.java:484) at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base@10-internal/AbstractPipeline.java:474) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(java.base@10-internal/ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(java.base@10-internal/ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(java.base@10-internal/AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(java.base@10-internal/ReferencePipeline.java:430) at sun.hotspot.tools.ctw.CompileTheWorld.main(CompileTheWorld.java:80) "VM Thread" os_prio=2 tid=0x000000f3d7afd000 nid=0x2188 runnable "GC Thread#0" os_prio=2 tid=0x000000f3b2340800 nid=0x7ec runnable "GC Thread#1" os_prio=2 tid=0x000000f3b2342000 nid=0x2488 runnable "GC Thread#2" os_prio=2 tid=0x000000f3b2343800 nid=0x16a4 runnable "GC Thread#3" os_prio=2 tid=0x000000f3b2346000 nid=0x177c runnable "GC Thread#4" os_prio=2 tid=0x000000f3b2347800 nid=0x24d4 runnable "GC Thread#5" os_prio=2 tid=0x000000f3b2349000 nid=0x1120 runnable "G1 Main Marker" os_prio=2 tid=0x000000f3b23da000 nid=0x1e6c runnable "G1 Marker#0" os_prio=2 tid=0x000000f3b23db000 nid=0x131c runnable "G1 Marker#1" os_prio=2 tid=0x000000f3b23e4000 nid=0xc08 runnable "G1 Refine#0" os_prio=2 tid=0x000000f3d6a94800 nid=0x119c runnable "G1 Refine#1" os_prio=2 tid=0x000000f3d6a93800 nid=0x18c4 runnable "G1 Refine#2" os_prio=2 tid=0x000000f3d6a92800 nid=0xca8 runnable "G1 Refine#3" os_prio=2 tid=0x000000f3d6a8d800 nid=0xf04 runnable "G1 Refine#4" os_prio=2 tid=0x000000f3d6a8d000 nid=0x1914 runnable "G1 Refine#5" os_prio=2 tid=0x000000f3d69ce800 nid=0x20fc runnable "G1 Young RemSet Sampling" os_prio=2 tid=0x000000f3d6a95800 nid=0x188c runnable "VM Periodic Task Thread" os_prio=2 tid=0x000000f3d7d60800 nid=0x1954 waiting on condition JNI global references: 137
23-08-2017

initial ILW = HLH = P2 I = ctw/Modules.java test hangs without timeout causing impact on priority mach5 testing L = only one test, possibly for windows only, need to confirm testbug / infrabug / others W = no workaround
23-08-2017

test hanged on windows twice and I don't see that it passed on windows. On other platforms it failed because of JDK-8184689. I haven't tried to run after bug is fixed.
22-08-2017

[~lmesnik], does this test always hang on windows? do you have other runs w/ this test passed on other platforms?
22-08-2017

also, since you see that it hangs only on windows, it's rather infra problem than test or product problem.
22-08-2017

there is no way to set a "reasonable" timeout for this test, it compiles all methods from all classes in all available modules at all compilation levels. setting a timeout implies knowledge about all these parts and all of them are changing.
22-08-2017