Closed Bug 1963824 Opened 1 year ago Closed 1 year ago

Remove debugging function JSJitFrameIter::verifyReturnAddressUsingNativeToBytecodeMap()

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: bthrall, Assigned: nmentz)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

JSJitFrameIter::verifyReturnAddressUsingNativeToBytecodeMap() might be useful to have around for debugging, but it is likely out of date and is blocking us from removing GC things from JitcodeGlobalEntry (which we believe is causing some crashes during profiling and at shutdown, and holding memory longer than necessary).

Removing this function means we can also remove JitcodeGlobalEntry::callStackAtAddr(JSRuntime* rt, void* ptr, BytecodeLocationVector& results, uint32_t* depth) and all its implementations.

Blocks: sm-runtime
Severity: -- → N/A
Priority: -- → P3
Keywords: good-first-bug
Assignee: nobody → natementze+github
Attachment #9486778 - Attachment description: WIP: Bug 1963824 - Remove verifyReturnAddressUsingNativeToBytecodeMap from JSJitFrameIter → Bug 1963824 - Remove verifyReturnAddressUsingNativeToBytecodeMap from JSJitFrameIter r=bthrall
Status: NEW → ASSIGNED

@bthrall, hey it looks like it's approved. Could we land this patch now?

Flags: needinfo?(bthrall)

Unfortunately, it doesn't look like the patch applies to latest main.

:nmentz, could you please rebase the patch?

I can land it as soon as it is rebased.

Flags: needinfo?(bthrall) → needinfo?(nate)

This bug blocks bug 1969435, so I'll rebase the patch and land it preserving the author. Thanks for working on it!

Flags: needinfo?(nate)
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: