Ivan Maidanski
Ivan Maidanski
Normally GC incremental mode is turned on at process start. Turning the mode off is not implemented.
No, not supported (yet).
No plans. But I think it is possible to review and merge it quickly if someone develops and tests it.
Is it 64-bit build?
Should be fixed now (but introducing a potential resource leak as mentioned in https://github.com/ivmai/bdwgc/pull/712#issuecomment-2725616155).
Let me keep it open as the current solution has some drawback and need to be reworked.
On behalf of @tobil4sk (copied from PR #712): It seems that in these cases where we suspend a thread running DllMain and lose the handle so are unable to resume,...
On behalf of @tobil4sk (copied from PR #712): Alternatively, maybe DllMain shouldn't run CloseHandle at all, but instead mark the thread with some flag so that it gets closed by...
Output (gctest): ``` thread 5340 panic: member access within null pointer of type 'struct GC_StackContext_Rep' ???:?:?: 0x7ffe0b3d9d0d in ??? (gc.dll) ... ???:?:?: 0x7ffe0b3b31e7 in ??? (gc.dll) D:\a\bdwgc\bdwgc\tests\gctest.c:1822:0: 0x7ff621c42f01 in run_one_test...
Stacktrace (if compiled with -O3): // obtained by `ulimit -c unlimited; while ./tests/test_stack; do :; done; gdb tests/test_stack core` ``` #0 0x0000000050179ef8 in AO_stack_push_explicit_aux_release () #1 0x000000005017aaa0 in AO_stack_push_release ()...