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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • core-libs

        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?

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

                Created:
                Updated:
                Resolved: