Fixed ABS_PATH for profiler
This commit is contained in:
parent
fcae79ce0b
commit
ffdffc475d
6 changed files with 99 additions and 24 deletions
|
|
@ -422,7 +422,9 @@ namespace GC
|
|||
{
|
||||
set_profiler(true);
|
||||
|
||||
if (Heap::get_profiler_mode())
|
||||
auto heap = Heap::the();
|
||||
|
||||
if (heap->profiler_enabled())
|
||||
Profiler::record(CollectStart);
|
||||
|
||||
cout << "DEBUG COLLECT\nFLAGS: ";
|
||||
|
|
@ -434,8 +436,6 @@ namespace GC
|
|||
cout << "\n - FREE";
|
||||
cout << "\n";
|
||||
|
||||
auto heap = Heap::the();
|
||||
|
||||
// get the frame adress, whwere local variables and saved registers are located
|
||||
auto stack_bottom = reinterpret_cast<uintptr_t *>(__builtin_frame_address(0));
|
||||
cout << "Stack bottom in collect:\t" << stack_bottom << "\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue