Previously, JSC_objectsAreImmortal works by marking all dead objects. If we also have JSC_useZombieMode enabled, the marking of dead objects may end up walking over zombified objects and crash the VM. To be compatible with JSC_useZombieMode, We can make JSC_objectsAreImmortal work by sweeping dead objects but never freeing them instead.
Created attachment 261127 [details] work in progress AFAIK, this patch works. The only issue is that the test case is not able to reproduce the original issue (which I previously observed why debugging some real world bug). Archiving this patch for now and moving on until I see this issue again or think of how to reproduce it.