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

Shenandoah: Faster and more parallel tests

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 13, 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b05

      Description

      Current hotspot_gc_shenandoah suite runs like this:

      real 31m31.172s
      user 287m50.380s
      sys 5m28.277s

      This amounts to 9.1x parallelism on 16-thread machine. Clearly, something big is on the critical path. Profiling shows the critical path is largely dominated by GCBasherWithShenandoah, which takes 26 minutes to run through all configurations. Other huge tests also run for a long time.

      We can improve this as follows:
       *) Split @run into several @test groups. This would execute @test-s in parallel, reducing the impact on critical path;
       *) Remove some of the useless configurations from the tests;

      Additionally, we can reformat @run sections to be more digestible.

        Attachments

          Activity

            People

            Assignee:
            shade Aleksey Shipilev
            Reporter:
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: