Tag Archives: memory management

Some notes about javascript garbage collection. Memory Management in JavaScript. Web resources.

[1]: Reference-counting garbage collection This is the most naive garbage collection algorithm. This algorithm reduces the definition of “an object is not needed anymore” to “an object has no other object referencing to it”. An object is considered garbage collectable if there is zero reference pointing at this object. var o = { a: { […]


arm: mm: kernel panic: BUG: Bad page map in process

This post is to discuss debugging kernel panic: BUG: Bad page map in process. The reference source code here is qualcomm msm kernel release 3.4.0. In the case discussed here, CONFIG_ARM_LPAE is disabled, and virtual address space is 4 GB. symptom: BUG: Bad page map in process This issue happens while user space requests to […]