fixed serious GC bug that's exhibited when guardians have protected
objects that survive 256 collections.
This commit is contained in:
parent
1931c37f36
commit
75d2756bd2
|
@ -1 +1 @@
|
||||||
1701
|
1702
|
||||||
|
|
|
@ -587,7 +587,7 @@ is_live(ikptr x, gc_t* gc){
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
next_gen(int i){
|
next_gen(int i){
|
||||||
return ((i == generation_count) ? generation_count : (i+1));
|
return ((i == (generation_count-1)) ? i : (i+1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue