mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
Prevent segfault on ARM
This commit is contained in:
parent
2aaeababb9
commit
b69f4f7233
2 changed files with 10 additions and 2 deletions
|
@ -1,5 +1,11 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## TBD - TBD
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
|
||||||
|
- Prevent GC segmentation fault on ARM platforms (Raspberry Pi 2).
|
||||||
|
|
||||||
## 0.9.3 - October 1, 2018
|
## 0.9.3 - October 1, 2018
|
||||||
|
|
||||||
Features
|
Features
|
||||||
|
|
2
gc.c
2
gc.c
|
@ -1985,9 +1985,11 @@ fprintf(stdout, "done tracing, cooperator is clearing full bits\n");
|
||||||
unswept++;
|
unswept++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (h_head) {
|
||||||
h_head->num_unswept_children = unswept;
|
h_head->num_unswept_children = unswept;
|
||||||
//printf("set num_unswept_children = %d computed = %d\n", h_head->num_unswept_children, gc_num_unswept_heaps(h_head));
|
//printf("set num_unswept_children = %d computed = %d\n", h_head->num_unswept_children, gc_num_unswept_heaps(h_head));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// At least for now, let the main thread help clean up any terminated threads
|
// At least for now, let the main thread help clean up any terminated threads
|
||||||
if (thd == primordial_thread) {
|
if (thd == primordial_thread) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue