-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 17, 21, 25, 26
-
Component/s: core-svc
-
b15
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8371008 | 25.0.2 | Sendao Yan | P4 | Resolved | Fixed | b05 |
[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
=======================================
- backported by
-
JDK-8371008 Test com/sun/jdi/JdbStopInNotificationThreadTest.java failed
-
- Resolved
-
- relates to
-
JDK-8366694 Test JdbStopInNotificationThreadTest.java timed out after 60 second
-
- Resolved
-
-
JDK-8367297 Test com/sun/jdi/JdbStopInNotificationThreadTest.java can still fail after JDK-8366850
-
- Resolved
-
-
JDK-8344920 Test com/sun/jdi/JdbStopInNotificationThreadTest.java failed
-
- Closed
-
- links to
-
Commit(master)
openjdk/jdk25u/89c5659a
-
Commit(master)
openjdk/jdk/4ec63e8f
-
Review(master)
openjdk/jdk17u-dev/4144
-
Review(master)
openjdk/jdk21u-dev/2436
-
Review(master)
openjdk/jdk25u/176
-
Review(master)
openjdk/jdk/27126