mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 06:09:51 +00:00
UserspaceEmulator: Reduce malloc thrashing in backtrace capture
This commit is contained in:
parent
e1f617950e
commit
b4ff85f138
Notes:
sideshowbarker
2024-07-19 01:22:11 +09:00
Author: https://github.com/awesomekling
Commit: b4ff85f138
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ bool Emulator::is_in_malloc_or_free() const
|
||||||
|
|
||||||
Vector<FlatPtr> Emulator::raw_backtrace()
|
Vector<FlatPtr> Emulator::raw_backtrace()
|
||||||
{
|
{
|
||||||
Vector<FlatPtr> backtrace;
|
Vector<FlatPtr, 128> backtrace;
|
||||||
backtrace.append(m_cpu.base_eip());
|
backtrace.append(m_cpu.base_eip());
|
||||||
|
|
||||||
// FIXME: Maybe do something if the backtrace has uninitialized data in the frame chain.
|
// FIXME: Maybe do something if the backtrace has uninitialized data in the frame chain.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue