encore icon indicating copy to clipboard operation
encore copied to clipboard

Flag `-nogc` does not guarantee that GC errors cannot happen

Open kikofernandez opened this issue 8 years ago • 2 comments

Currently, someone can use the -nogc flag against the compiled binary to avoid some GC crashes (mainly due to not tracing correctly objects). This feature is not supposed to be used by anyone, but allow students to continue working on their implementation until we can provide GC fixes. However, there are some cases that are not covered by the -nogc flag and they should be addressed. As far as I know, futures may still crash even though you can pass the -nogc flag. There may be other cases.

kikofernandez avatar May 17 '16 12:05 kikofernandez

Currently the -nogc flag only disables the garbage collection of passive objects (AFAIK) so issues related to the GCing of active objects does not disappear with the nogc flag.

TheGrandmother avatar May 17 '16 16:05 TheGrandmother

In the future this will either need to be fixed or removed.

supercooldave avatar May 04 '17 08:05 supercooldave