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

[TESTBUG] gc/epsilon/TestMemoryMXBeans should retry on failure

    XMLWordPrintable

Details

    • gc
    • b08

    Backports

      Description

        See JDK-8206434 for example intermittent failures this may help.

        gc/epsilon/TestMemoryMXBeans allocates the array and polls MXBeans to check the counters have changed by expected value. However, that sometimes runs into problems when other threads (notably, compiler threads) allocate memory on their own.

        Retrying the test internally should provide more safety against these intermittent false negatives.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: