[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
=======================================
[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
=======================================
- relates to
-
JDK-8366694 Test JdbStopInNotificationThreadTest.java timed out after 60 second
-
- Resolved
-
-
JDK-8344920 Test com/sun/jdi/JdbStopInNotificationThreadTest.java failed
-
- Closed
-
- links to
-
Review(master) openjdk/jdk/27126