Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8255450

runtime/ThreadCountLimit.java causes high system load

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      runtime/ThreadCountLimit.java, introduced with JDK-8222671, caused a number of problems on our test machines.

      (JDK-8222671 is private and cannot be accessed from outside Oracle, so all I know comes from its review thread [1]).

      The test creates massive amount of threads in the hope of hitting some limit which should manifest as an OOM. This affects unrelated processes, unless the test is executed in a jail or with specific limits set.

      This test probably should be executed with a specific limit, but for now lets mark it as @stress and remove it from tier1 tests.

      [1] http://openjdk.5641.n7.nabble.com/RFR-8222671-thread-large-thread-large-java-times-out-on-MacOSX-td418526.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: