On Thu, 12 Nov 2026 02:01:50 GMT, Koichi Sakata <[email protected]> wrote:

>> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/aarch64/LinuxAARCH64CFrame.java
>>  line 52:
>> 
>>> 50:         dwarf = createDwarfParser(linuxDbg, pc);
>>> 51:       } catch (DebuggerException e) {
>>> 52:         if (linuxDbg.findLibPtrByAddress(pc) != null) {
>> 
>> You can use `hasNativeLibrary()` here.
>
> `getFrameFromReg()` is a static method, so LinuxAARCH64CFrame needs to be 
> instantiated if we use `hasNativeLibrary()` at this point.

You are right, thanks!

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/33839#discussion_r4545569629

Reply via email to