[debuggee] Listening for transport dt_socket at address: 59610
[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)657 Reference Handler running
[jdb] (java.lang.ref.Finalizer$FinalizerThread)658 Finalizer cond. waiting
[jdb] (java.lang.Thread)659 Signal Dispatcher running
[jdb] (java.lang.Thread)660 Notification Thread running
[jdb] Group main:
[jdb] (java.lang.Thread)1 old-m-a-i-n cond. waiting
[jdb] Group InnocuousThreadGroup:
[jdb] (jdk.internal.misc.InnocuousThread)689 Common-Cleaner cond. waiting
[jdb] (jdk.internal.misc.InnocuousThread)1103 VirtualThread-unblocker running
[jdb] Group CarrierThreads:
[jdb] (jdk.internal.misc.CarrierThread)1120 ForkJoinPool-1-worker-1 cond. waiting
[jdb] Group VirtualThreads:
[jdb] (java.lang.VirtualThread)1124 main running (at breakpoint)
[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]
=======================================
Exception thrown during test execution: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
=======================================
> quit
[debuggee] Listening for transport dt_socket at address: 59617
[jdb] > Set deferred breakpoint JdbStopInNotificationThreadTestTarg$1:70
[jdb]
[debuggee] Notification received:java.management.memory.threshold.exceeded
[debuggee] Notification MEMORY_THRESHOLD_EXCEEDED received:
[debuggee] Memory usage low!!!
[debuggee] percentageUsed = 0.1875
[debuggee] Done
----------System.err:(15/1147)*----------
java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
at lib.jdb.Jdb.waitForPrompt(Jdb.java:220)
at lib.jdb.Jdb.command(Jdb.java:240)
at JdbStopInNotificationThreadTest.runCases(JdbStopInNotificationThreadTest.java:134)
at lib.jdb.JdbTest.run(JdbTest.java:96)
at JdbStopInNotificationThreadTest.main(JdbStopInNotificationThreadTest.java:122)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.VirtualThread.run(VirtualThread.java:458)
[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)657 Reference Handler running
[jdb] (java.lang.ref.Finalizer$FinalizerThread)658 Finalizer cond. waiting
[jdb] (java.lang.Thread)659 Signal Dispatcher running
[jdb] (java.lang.Thread)660 Notification Thread running
[jdb] Group main:
[jdb] (java.lang.Thread)1 old-m-a-i-n cond. waiting
[jdb] Group InnocuousThreadGroup:
[jdb] (jdk.internal.misc.InnocuousThread)689 Common-Cleaner cond. waiting
[jdb] (jdk.internal.misc.InnocuousThread)1103 VirtualThread-unblocker running
[jdb] Group CarrierThreads:
[jdb] (jdk.internal.misc.CarrierThread)1120 ForkJoinPool-1-worker-1 cond. waiting
[jdb] Group VirtualThreads:
[jdb] (java.lang.VirtualThread)1124 main running (at breakpoint)
[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]
=======================================
Exception thrown during test execution: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
=======================================
> quit
[debuggee] Listening for transport dt_socket at address: 59617
[jdb] > Set deferred breakpoint JdbStopInNotificationThreadTestTarg$1:70
[jdb]
[debuggee] Notification received:java.management.memory.threshold.exceeded
[debuggee] Notification MEMORY_THRESHOLD_EXCEEDED received:
[debuggee] Memory usage low!!!
[debuggee] percentageUsed = 0.1875
[debuggee] Done
----------System.err:(15/1147)*----------
java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
at lib.jdb.Jdb.waitForPrompt(Jdb.java:220)
at lib.jdb.Jdb.command(Jdb.java:240)
at JdbStopInNotificationThreadTest.runCases(JdbStopInNotificationThreadTest.java:134)
at lib.jdb.JdbTest.run(JdbTest.java:96)
at JdbStopInNotificationThreadTest.main(JdbStopInNotificationThreadTest.java:122)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.VirtualThread.run(VirtualThread.java:458)