mirror of
https://github.com/corda/corda.git
synced 2025-01-19 19:26:27 +00:00
Merge pull request #444 from dicej/immortal-fixies
fix GC crash for bootimage builds
This commit is contained in:
commit
e7dbe89c74
@ -1001,8 +1001,8 @@ void sweepFixies(Context* c)
|
|||||||
assertT(c, c->markedFixies == 0);
|
assertT(c, c->markedFixies == 0);
|
||||||
|
|
||||||
if (c->mode == Heap::MajorCollection) {
|
if (c->mode == Heap::MajorCollection) {
|
||||||
free(c, &(c->tenuredFixies));
|
free(c, &(c->tenuredFixies), true);
|
||||||
free(c, &(c->dirtyTenuredFixies));
|
free(c, &(c->dirtyTenuredFixies), true);
|
||||||
|
|
||||||
c->tenuredFixieFootprint = 0;
|
c->tenuredFixieFootprint = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user