Filip Pizlo (2015-09-27T16:57:29.000Z)
d at domenic.me (2015-10-12T20:26:14.831Z)
It seems that most of the benefit for fail-faster behavior for VM errors is security. To what extent do you think the security problem could be addressed by VMs simply randomizing the point at which stack overflow or OOM happens? I think this would be more desirable, since it requires no language changes. More comments inline... > On Sep 27, 2015, at 8:46 AM, Mark S. Miller <erights at google.com> wrote: >> The string indicates the choice of trap handling strategy, where these strategies are ordered by severity. Among the gathered strategies, the most severe win and the rest are discarded. From least to most severe, they are >> >> "THROW" >> "ABORT_JOB" >> "REFRESH" >> "ABORT_EVENT_LOOP" This seems pretty sensible, but I'd like it more if it was simpler. Wouldn't this be practically as useful if we just had THROW and ABORT_EVENT_LOOP? I can see how to use those modes, but I don't know how to use the others.