Explanation of Azul's “pauseless” garbage collector

前端 未结 4 1768
梦毁少年i
梦毁少年i 2020-12-12 16:39

I\'ve just read this:

http://www.artima.com/lejava/articles/azul_pauseless_gc.html

Although I\'ve some experience with compilers, I\'ve done nothing related

4条回答
  •  青春惊慌失措
    2020-12-12 17:02

    Why would a garbage collector not simply mprotect(region_it's_working_on, PROT_READ) and implement a SIGSEGV handler that updates all pointers to the accessed object? Yes, you'd have to track all pointers to an object of course.

提交回复
热议问题