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

[LOOM] Some nsk/jdi tests fail due to needing too many virtual threads

    XMLWordPrintable

Details

    • b05

    Description

      These 2 tests try to create 10 vthreads and have them all block on a synchronized method call, but on some hosts there are not enough carrier threads to support pinning all 10 vthreads (by default there is 1 per core), so the test deadlocks. -Djdk.defaultScheduler.parallelism=<n> could be used with the debugee to ensure there are enough carrier threads.

      vmTestbase/nsk/jdi/EventRequestManager/stepRequests/stepreq002/TestDescription.java
      vmTestbase/nsk/jdi/EventRequestManager/deleteEventRequests/delevtreqs002/TestDescription.java

      Not this is basically the same issue as we see with JDK-8282383, but those tests fail when there are even fewer cores.

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: