bool RetryCustomAllocate(CustomAllocationFunction allocate,Etienne Pierre-DorayNit: AFAICS not having the default argument here doesn't really seem intrusive. Can you require this argument to be explicit here? That way we need to think about its value. IMHO all the RetryCustomAllocateXXX methods should require this argument.
Done
AllocationSpace space, GarbageCollectionReason gc_reason =Etienne Pierre-DorayNit: Maybe here as well. The other CollectGarbageXXX methods don't make this implicit either.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
+mlippautz@ for src/api
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
NEW_SPACE, GarbageCollectionReason::kFinalizeMarkingViaTask);I think this gc reason is wrong here - as we bail out for incremental marking the line before. This task tries to trigger a new space GC without a stack just before completely filling new space. Depending on how you see it, kAllocationFailure might be off as well but this is the one we use currently and not sure it's worth adding a new gc reason in this CL for this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
NEW_SPACE, GarbageCollectionReason::kFinalizeMarkingViaTask);I think this gc reason is wrong here - as we bail out for incremental marking the line before. This task tries to trigger a new space GC without a stack just before completely filling new space. Depending on how you see it, kAllocationFailure might be off as well but this is the one we use currently and not sure it's worth adding a new gc reason in this CL for this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |