Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't verify during gc_enter when gc is disabled.
RGENGC_CHECK_MODE >=3 fails with an incinsistency in the old object count during ec_finalization. This is due to inconsistency introduced to the object graph using T_DATA finalizers. This is explained in commit 79df14c, which disabled gc during finalization to work around this. ``` /* prohibit GC because force T_DATA finalizers can break an object graph consistency */ dont_gc_on() ``` This object graph inconsistency also seems to break RGENGC_CHECK_MODE >= 3, when it attempt to verify the object age relationships during finalization at VM shutdown (gc_enter is called during finalization). This commit stops the internal consistency check during gc_enter only when RGENGC_CHECK_MODE >= 3 and when gc is disabled. This fixes `make btest` with `-DRGENGC_CHECK_MODE=3`
- Loading branch information