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

jdk/dynalink/TypeConverterFactoryRetentionTests.java times out intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 16.0.1, 17
    • core-libs

      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)?

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

              Created:
              Updated:
              Resolved: