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

jdk/dynalink/TypeConverterFactoryRetentionTests.java times out intermittently

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 16.0.1, 17
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      When running tier2 tests on busy CI server, this happens:

      TEST: jdk/dynalink/TypeConverterFactoryRetentionTests.java
      TEST JDK: /home/buildbot/worker/test-jdkX-linux/build/build/linux-x86_64-server-fastdebug/images/jdk

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Should have GCd a class loader from both queues by now
      REASON: Assumed action based on file name: run main TypeConverterFactoryRetentionTests
      TIME: 38.445 seconds
      messages:
      command: main TypeConverterFactoryRetentionTests
      reason: Assumed action based on file name: run main TypeConverterFactoryRetentionTests
      Mode: agentvm
      Agent id: 169
      elapsed time (seconds): 38.445

      I think this test is rather time-sensitive. I wonder if we want to extend the test time, and limit the heap size to trigger enough GCs (that would hopefully involve weak references processing)?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              attila Attila Szegedi
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: