]> gitweb.factorcode.org Git - factor.git/commit
vm: during tenuring stage of aging collection, if tenured space fills up, it would...
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 15 Oct 2009 10:51:11 +0000 (05:51 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 15 Oct 2009 10:51:11 +0000 (05:51 -0500)
commit45eb68fa383ffe1394b8fabebf580dd06ffffcd9
tree88d9a47f47124c0f6e4758f3e5f69295371aa4d0
parent15e4f08d785b6ac6cb2dd47ae276866d32050b5f
vm: during tenuring stage of aging collection, if tenured space fills up, it would attempt a to_tenured collection. this will succeed if all roots were tenured. however, this is unsound, because there's now an untraced segment of tenured space. fix: if tenuring fails, go on to do a full collection instead
12 files changed:
vm/aging_collector.cpp
vm/code_heap.cpp
vm/collector.hpp
vm/copying_collector.hpp
vm/data_heap.hpp
vm/debug.cpp
vm/full_collector.cpp
vm/gc.cpp
vm/gc.hpp
vm/nursery_collector.cpp
vm/to_tenured_collector.cpp
vm/vm.hpp