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

java/util/concurrent/ScheduledThreadPoolExecutor/GCRetention.java starts failing intermittently

    Details

      Backports

        Description

        java/util/concurrent/ScheduledThreadPoolExecutor/GCRetention.java starts failing intermittently recently (after JDK-8134853), very rare though.

        ----------System.out:(3/28)----------

        Passed = 0, failed = 1

        ----------System.err:(23/1323)----------
        java.lang.Error: references to 1/100 tasks retained ("leaked")
        at GCRetention.test(GCRetention.java:116)
        at GCRetention.instanceMain(GCRetention.java:133)
        at GCRetention.main(GCRetention.java:131)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:520)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
        at java.lang.Thread.run(Thread.java:747)
        java.lang.AssertionError: Some tests failed
        at GCRetention.instanceMain(GCRetention.java:135)
        at GCRetention.main(GCRetention.java:131)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:520)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
        at java.lang.Thread.run(Thread.java:747)


          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  martin Martin Buchholz
                  Reporter:
                  amlu Amy Lu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: