JDK-8040805 : compiler/startup/SmallCodeCacheStartup.java can deadlock
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2014-04-17
  • Updated: 2014-04-22
  • Resolved: 2014-04-22
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.
Related Reports
Duplicate :  
Reason: The test starts the JVM with 3m code cache and 64 compiler threads. As a result, it is very likely that not all compiler threads can be started due to insufficient space in the code cache. It is also possible that the initialization of all compiler threads of a particular compiler (C1/C2) fails. Since the test starts the JVM with -Xcomp (blocking compilation) the JVM waits forever for the compilation to complete. However, the compilation cannot complete, since there is no compiler thread to process the task.
Adding link

This bug is a duplicate of JDK-8040798

This is very likely, thanks for the pointer. I'll look at those two bugs more next week.

[~anoll], is it a dup of JDK-8040798?