mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added commend regarding pending writes
This commit is contained in:
parent
9e94d4ee46
commit
f9fa7d9214
1 changed files with 4 additions and 0 deletions
|
@ -294,6 +294,10 @@ struct gc_thread_data_t {
|
|||
int gc_status;
|
||||
int last_write;
|
||||
int last_read;
|
||||
// Need this because minor GC may still be moving objects to the heap and
|
||||
// if we try to trace before minor GC is done, some of the objects may be
|
||||
// missed. So we "pend" them until minor GC is done and we know everything
|
||||
// is on the heap.
|
||||
int pending_writes;
|
||||
mark_buffer *mark_buffer;
|
||||
int mark_buffer_len;
|
||||
|
|
Loading…
Add table
Reference in a new issue