mirror of
https://github.com/corda/corda.git
synced 2025-01-19 03:06:36 +00:00
Merge branch 'master' of dice:git/vm
This commit is contained in:
commit
2be830cae7
@ -1424,9 +1424,9 @@ allocate(Thread* t, unsigned sizeInBytes)
|
||||
inline void
|
||||
mark(Thread* t, object* targets, unsigned count)
|
||||
{
|
||||
if (t->m->heap->needsMark(reinterpret_cast<void**>(targets))) {
|
||||
ACQUIRE_RAW(t, t->m->heapLock);
|
||||
for (unsigned i = 0; i < count; ++i) {
|
||||
ACQUIRE_RAW(t, t->m->heapLock);
|
||||
for (unsigned i = 0; i < count; ++i) {
|
||||
if (t->m->heap->needsMark(reinterpret_cast<void**>(targets + i))) {
|
||||
t->m->heap->mark(reinterpret_cast<void**>(targets + i));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user