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

javax/swing/border/TestTitledBorderLeak.java fails with "RuntimeException: Memory halved: there's a leak"

XMLWordPrintable

      The following test failed in the JDK19 CI:

      javax/swing/border/TestTitledBorderLeak.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/247)----------
      command: main -Xmx10M TestTitledBorderLeak
      reason: User specified action: run main/othervm -Xmx10M TestTitledBorderLeak
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 1.801
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(82/2123)----------
      After 1000: 8081176 free
      After 2000: 8210192 free
      After 3000: 8202432 free
      After 4000: 8022776 free
      After 5000: 8185736 free
      After 6000: 8177544 free
      After 7000: 8218320 free
      After 8000: 8126840 free
      After 9000: 8208464 free
      After 10000: 8227680 free
      After 11000: 8227960 free
      After 12000: 8165336 free
      After 13000: 8217664 free
      After 14000: 8215816 free
      After 15000: 8129544 free
      After 16000: 8207584 free
      After 17000: 8226504 free
      After 18000: 8227208 free
      After 19000: 8218704 free
      After 20000: 8227696 free
      After 21000: 8228048 free
      After 22000: 8184792 free
      After 23000: 8229224 free
      After 24000: 8176568 free
      After 25000: 8213640 free
      After 26000: 8124472 free
      After 27000: 8101000 free
      After 28000: 8230384 free
      After 29000: 8230176 free
      After 30000: 8229264 free
      After 31000: 8178392 free
      After 32000: 8087944 free
      After 33000: 8171288 free
      After 34000: 8214472 free
      After 35000: 8225544 free
      After 36000: 8227832 free
      After 37000: 8076784 free
      After 38000: 8163576 free
      After 39000: 8230496 free
      After 40000: 8161152 free
      After 41000: 8213408 free
      After 42000: 8122336 free
      After 43000: 8169296 free
      After 44000: 8147984 free
      After 45000: 8158864 free
      After 46000: 8085792 free
      After 47000: 8173056 free
      After 48000: 8174464 free
      After 49000: 8210408 free
      After 50000: 8163160 free
      After 51000: 8174504 free
      After 52000: 8193432 free
      After 53000: 8221288 free
      After 54000: 8216392 free
      After 55000: 8228608 free
      After 56000: 8183992 free
      After 57000: 8230280 free
      After 58000: 8117224 free
      After 59000: 8214752 free
      After 60000: 8119088 free
      After 61000: 8203576 free
      After 62000: 8070672 free
      After 63000: 8227384 free
      After 64000: 8048728 free
      After 65000: 8152536 free
      After 66000: 8210848 free
      After 67000: 8224416 free
      After 68000: 8186568 free
      After 69000: 8098064 free
      After 70000: 8210888 free
      After 71000: 8173032 free
      After 72000: 8128552 free
      After 73000: 8175472 free
      After 74000: 8074840 free
      After 75000: 8138400 free
      After 76000: 8173960 free
      After 77000: 8222504 free
      After 78000: 8189176 free
      After 79000: 8138920 free
      After 80000: 8169208 free
      After 81000: 8214096 free
      After 82000: 3989592 free
      ----------System.err:(11/657)----------
      java.lang.RuntimeException: Memory halved: there's a leak
      at TestTitledBorderLeak.main(TestTitledBorderLeak.java:46)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1596)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Memory halved: there's a leak
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Memory halved: there's a leak
      ----------rerun:(36/5031)*----------

            psadhukhan Prasanta Sadhukhan
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: