All VirtualMachineErrors seem worthy of fork sticking. Also re: my previous
checkin, tihs will be a non-issue when we start devoting an entire separate JVM to each game (which we will have to do for all games that run server code) because then all a game can do is stick a fork in its own JVM and render itself unplayable. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4388 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -278,7 +278,7 @@ public class PresentsDObjectMgr
|
|||||||
processEvent((DEvent)unit);
|
processEvent((DEvent)unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (OutOfMemoryError e) {
|
} catch (VirtualMachineError e) {
|
||||||
handleFatalError(unit, e);
|
handleFatalError(unit, e);
|
||||||
|
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
@@ -417,7 +417,7 @@ public class PresentsDObjectMgr
|
|||||||
target.notifyListeners(event);
|
target.notifyListeners(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (OutOfMemoryError e) {
|
} catch (VirtualMachineError e) {
|
||||||
handleFatalError(event, e);
|
handleFatalError(event, e);
|
||||||
|
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
|
|||||||
Reference in New Issue
Block a user