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

Parallelize gc/stress/TestStressIHOPMultiThread.java test

XMLWordPrintable

    • gc
    • b16

        Looking at tier4 tests, I see gc/stress tests take lots of time per test. For example TestStressIHOPMultiThread takes about 10 minutes to run. This limits effective parallelism of tier4 testing on large machines. We can parallelize its `@run` configs to improve effective parallelism for tier4.

        Instrumentation shows current `@run`-s take this much time with x86_64 fastdebug binaries, in milliseconds:

        120700 gc/stress/TestStressIHOPMultiThread.java
        120573 gc/stress/TestStressIHOPMultiThread.java (part 2)
        120558 gc/stress/TestStressIHOPMultiThread.java (part 3)
        120489 gc/stress/TestStressIHOPMultiThread.java (part 4)
        120568 gc/stress/TestStressIHOPMultiThread.java (part 5)

        So this split would give us a linear improvement in parallelism.

              rsoumadipta Roy Soumadipta
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: