Understanding Implementing Lox 02 C26 Garbage Collector P20

Let's dive into the details surrounding Implementing Lox 02 C26 Garbage Collector P20. here we (hopefully) squashed all the bugs that has to do with

Key Takeaways about Implementing Lox 02 C26 Garbage Collector P20

  • fixing the bug of not marking compiler.search table this causes the string representing variable names to be swept unintentionally ...
  • learning the system to fix the bug. curr bug - segfaults when it tries to clear an obj that it doesnt have access to.
  • tracing down bug where value is not resolved as upvalue, but as global instead - strings go missing from vm.strings - resolveLocal ...
  • fixing segfault. this particular case is caused by us trying to access a null pointer the reason why it is null is becos it was not ...
  • cleaning up potential memory bugs. we updated all the functions that needs to allocate, namely the ones that creates new object.

Detailed Analysis of Implementing Lox 02 C26 Garbage Collector P20

trying to make the base code for chap 26. here we fixed an error with getCompactSwap" turns out we are also providing new pointers for locations that are outside of the ...

strings created in scope are not marked as used - can get corrupted when we allocate new mem for other objects.

That wraps up our extensive overview of Implementing Lox 02 C26 Garbage Collector P20.

Implementing Lox 02 C26 Garbage Collector P20.pdf

Size: 5.33 MB · Format: PDF · Secure Download

Download PDF Read Online

Related Documents