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

Test com/sun/jdi/JdbStopInNotificationThreadTest.java failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 26
    • core-svc

      [debuggee] Listening for transport dt_socket at address: 48891
      [jdb] Set uncaught java.lang.Throwable
      [jdb] Set deferred uncaught java.lang.Throwable
      [jdb] Initializing jdb ...
      [jdb]
      [jdb] VM Started: > No frames on the current call stack
      [jdb]
      [jdb] main[1]
      > stop at JdbStopInNotificationThreadTestTarg:54
      [jdb] Deferring breakpoint JdbStopInNotificationThreadTestTarg:54.
      [jdb] It will be set after the class is loaded.
      [jdb] main[1]
      > run
      [jdb] > Set deferred breakpoint JdbStopInNotificationThreadTestTarg:54
      [jdb]
      [jdb] Breakpoint hit: "thread=main", JdbStopInNotificationThreadTestTarg.main(), line=54 bci=0
      [jdb] 54 test(); // @1 breakpoint
      [jdb]
      [jdb] main[1]
      > threads
      [jdb] Group system:
      [jdb] (java.lang.ref.Reference$ReferenceHandler)652 Reference Handler running
      [jdb] (java.lang.ref.Finalizer$FinalizerThread)653 Finalizer cond. waiting
      [jdb] (java.lang.Thread)654 Signal Dispatcher running
      [jdb] (java.lang.Thread)656 Notification Thread running
      [jdb] Group main:
      [jdb] (java.lang.Thread)1 main running (at breakpoint)
      [jdb] Group InnocuousThreadGroup:
      [jdb] (jdk.internal.misc.InnocuousThread)685 Common-Cleaner cond. waiting
      [jdb] main[1]
      > stop at JdbStopInNotificationThreadTestTarg$1:70
      [jdb] Deferring breakpoint JdbStopInNotificationThreadTestTarg$1:70.
      [jdb] It will be set after the class is loaded.
      [jdb] main[1]
      > cont
      [debuggee] Setting threashold for pool ZGC Old Generation percentage:0.1
      [jdb] > Set deferred breakpoint JdbStopInNotificationThreadTestTarg$1:70
      [jdb]
      [jdb] Exception occurred: java.lang.OutOfMemoryError (uncaught)"thread=main", JdbStopInNotificationThreadTestTarg.test(), line=80 bci=50
      [jdb] 80 numbers.add(new Object[1000]);
      [jdb]
      [jdb] main[1]
      =======================================
      Exception thrown during test execution: '^Breakpoint hit: "thread=Notification Thread", JdbStopInNotificationThreadTestTarg\\$1\\.handleNotification\\(\\), line=70.*\\R70\\s+System\\.out\\.println\\("Memory usage low!!!"\\);.*' missing from stdout/stderr
      =======================================

            cjplummer Chris Plummer
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: