File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/amd64 Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments