mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
UserspaceEmulator: Reduce malloc thrashing in backtrace capture
This commit is contained in:
parent
e1f617950e
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> backtrace;
|
||||
Vector<FlatPtr, 128> backtrace;
|
||||
backtrace.append(m_cpu.base_eip());
|
||||
|
||||
// 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