compiler/startup/SmallCodeCacheStartup.java can deadlock

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • generic
    • generic

      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.

            Assignee:
            Albert Noll (Inactive)
            Reporter:
            Albert Noll (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: