Skip to content

Commit 9c46feb

Browse files
committed
8245234: Still seeing missing mixed stack traces, even after JDK-8234624
Reviewed-by: kevinw, cjplummer
1 parent 6bec42a commit 9c46feb

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/amd64/LinuxAMD64CFrame.java

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -145,17 +145,12 @@ public CFrame sender(ThreadProxy thread) {
145145
}
146146

147147
DwarfParser nextDwarf = null;
148-
149-
if ((dwarf != null) && dwarf.isIn(nextPC)) {
150-
nextDwarf = dwarf;
151-
} else {
152-
Address libptr = dbg.findLibPtrByAddress(nextPC);
153-
if (libptr != null) {
154-
try {
155-
nextDwarf = new DwarfParser(libptr);
156-
} catch (DebuggerException e) {
157-
// Bail out to Java frame
158-
}
148+
Address libptr = dbg.findLibPtrByAddress(nextPC);
149+
if (libptr != null) {
150+
try {
151+
nextDwarf = new DwarfParser(libptr);
152+
} catch (DebuggerException e) {
153+
// Bail out to Java frame
159154
}
160155
}
161156

0 commit comments

Comments
 (0)