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

ConcurrentHashMap/ConcurrentAssociateTest.java, times out 90% of time on sparc with 256 cpu.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Backports

        Description

        The test

        java/util/concurrent/ConcurrentHashMap/ConcurrentAssociateTest.java

         has failed 90% of a couple hundred runs due to timeouts when run on a solaris-sparc which is a zone on a host with 256 cpu. Increasing the timeout value to 12 or so allows this to pass sometimes but it takes up to 14 or 15 minutes. While this may be due to the zone sharing resources, availableProcessors() still returns 256, and this test can take an unreasonable amount of time for 1 test.
        If this is not a bug, can the test put a cap on this value at 24 or 32 so that it runs in a reasonable amount of time?

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                darcy Joe Darcy
                Reporter:
                ssides Steve Sides
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: