mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
Cleanup comment
This commit is contained in:
parent
3cff2e1560
commit
49e06dce07
1 changed files with 2 additions and 2 deletions
4
gc.c
4
gc.c
|
@ -1837,8 +1837,8 @@ void gc_collector_trace()
|
||||||
// TODO: ideally, want to use a lock-free data structure to prevent
|
// TODO: ideally, want to use a lock-free data structure to prevent
|
||||||
// having to use a mutex here. see corresponding code in gc_mark_gray
|
// having to use a mutex here. see corresponding code in gc_mark_gray
|
||||||
pthread_mutex_lock(&(m->lock));
|
pthread_mutex_lock(&(m->lock));
|
||||||
// JAE - try doing this loop (majority of tracing) without the lock.
|
// Try doing this loop (majority of tracing) without the lock. We
|
||||||
// we shouldn't need to be locked to do it anyway and we still lock
|
// shouldn't need to be locked to do it anyway and we still lock
|
||||||
// below as a fail-safe. One potential issue here, will we be broken
|
// below as a fail-safe. One potential issue here, will we be broken
|
||||||
// if the mark buffer needs to be grown. I think not because we still
|
// if the mark buffer needs to be grown. I think not because we still
|
||||||
// will only go as far as the mutator already went with the version of
|
// will only go as far as the mutator already went with the version of
|
||||||
|
|
Loading…
Add table
Reference in a new issue