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

BootstrapLoggerTest : Executor still alive

    XMLWordPrintable

Details

    Backports

      Description

        jdk/java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerTest.java test failed in HS PIT

        #section:main
        ----------messages:(5/395)----------
        command: main BootstrapLoggerTest SECURE_AND_WAIT
        reason: User specified action: run main/othervm/timeout=120 BootstrapLoggerTest SECURE_AND_WAIT
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules java.base,java.logging --add-exports java.base/jdk.internal.logger=ALL-UNNAMED --add-opens java.base/jdk.internal.logger=ALL-UNNAMED
        elapsed time (seconds): 266.131
        ----------configuration:(5/172)----------
        Boot Layer
          add modules: java.base java.logging
          add exports: java.base/jdk.internal.logger ALL-UNNAMED
          add opens: java.base/jdk.internal.logger ALL-UNNAMED

        ----------System.out:(0/0)----------
        ----------System.err:(48/2028)----------
        Testing: SECURE_AND_WAIT
        Setting security manager
        VM Booted: false
        LogManager initialized: false
        VM Booted: true
        LogManager initialized: false
        Jan 13, 2018 10:21:37 PM jdk.internal.logger.BootstrapLogger$LogEvent log
        INFO: Early message #1
        Jan 13, 2018 10:22:10 PM BootstrapLoggerTest main
        INFO: LOG#4: VM now booted: true
        Jan 13, 2018 10:22:12 PM jdk.internal.logger.BootstrapLogger$LogEvent log
        WARNING: Early message #2
        Jan 13, 2018 10:22:12 PM jdk.internal.logger.BootstrapLogger$LogEvent log
        INFO: Early message #3
        Found: Thread[BootstrapMessageLoggerTask-InnocuousThread-1,5,InnocuousThreadGroup]
        VM Booted: true
        LogManager initialized: false
        Jan 13, 2018 10:22:40 PM BootstrapLoggerTest main
        FINE: hi now!
        Thread[BootstrapMessageLoggerTask-InnocuousThread-2,5,InnocuousThreadGroup]
        Executor still alive as expected.
        Waiting for BootstrapMessageLoggerTask-InnocuousThread-1 to terminate (join)
        Calling System.gc()
        Waiting for BootstrapMessageLoggerTask to be gc'ed
        BootstrapMessageLoggerTask has been gc'ed
        Calling System.gc()
        Calling System.gc()
        Calling System.gc()
        Calling System.gc()
        Calling System.gc()
        Calling System.gc()
        Calling System.gc()
        Calling System.gc()
        Calling System.gc()
        Calling System.gc()
        java.lang.RuntimeException: Executor still alive
        at BootstrapLoggerTest.main(BootstrapLoggerTest.java:338)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Executor still alive
        JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

                dfuchs Daniel Fuchs
                iignatyev Igor Ignatyev (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: