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

Improve runtime/SelectionResolution tests that throw ICCE

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 11, 17, 21, 22
    • hotspot

      `runtime/SelectionResolution` tests take considerable time in `hotspot:tier3`, and `InvokeVirtualICCE` dragging the testing tail. There are tests that are expected to throw ICCE, they are named as `*ICCE.java`. We can optimize them a little bit by adding `-XX:-StackTraceInThrowable` to relevant tests.

      Example run for `runtime/SelectionResolution` on Linux x86_64 fastdebug:

      default:
       1285.52s user 37.23s system 634% cpu 3:28.53 total

      with `-XX:-StackTraceInThrowable`:
       1229.94s user 35.44s system 678% cpu 3:06.39 total

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: