Todd Turnidge
0d501ad53d
VM restart + shutdown fixes
...
This change add the ability to restart the vm through the service
protocol. All isolates are killed, and then the main isolate is
restarted cooperatively by the embedder.
This change also fixes the message handler to prevent it from
accidentally ignoring vm shutdown messages.
Previously, we would stop handling messages whenever we hit an error
(such as a compile error or an unhandled exception). This would leave
shutdown requests sitting the oob queue, neglected.
We now process *all* oob requests, up to the first shutdown request.
When we hit a shutdown request, we clear the oob queue and process no
more messages.
To make all of this work, we had to change the return value of
HandleMessage from bool to a new enum type, allowing the message
handler to distinguish *normal* error cases from the more rarified
shutdown and restart cases.
R=johnmccutchan@google.com , zra@google.com
Review URL: https://codereview.chromium.org/1371193005 .
2015-10-06 11:27:26 -07:00
..
2015-10-06 07:58:14 -07:00
2015-02-13 15:37:03 +00:00
2015-10-01 07:18:27 -07:00
2015-10-01 07:18:27 -07:00
2015-09-15 12:49:52 -07:00
2015-05-11 18:23:20 +00:00
2015-02-11 16:20:18 +00:00
2015-07-30 09:08:40 -07:00
2015-05-19 11:41:42 -07:00
2015-05-19 11:41:42 -07:00
2015-10-03 06:53:13 -07:00
2015-09-15 12:49:52 -07:00
2015-01-28 00:39:35 +00:00
2014-09-25 23:39:30 +00:00
2014-09-30 23:29:26 +00:00
2015-09-29 15:18:30 -07:00
2015-09-15 12:49:52 -07:00
2014-08-14 00:06:04 +00:00
2015-09-01 17:53:03 -07:00
2014-08-14 00:06:04 +00:00
2015-09-01 17:53:03 -07:00
2014-08-14 00:06:04 +00:00
2015-09-01 17:53:03 -07:00
2015-09-01 17:53:03 -07:00
2015-09-01 17:53:03 -07:00
2015-09-01 17:53:03 -07:00
2015-09-01 17:53:03 -07:00
2015-09-24 07:01:16 -07:00
2015-06-17 14:56:55 -07:00
2014-09-25 07:06:06 +00:00
2015-06-24 10:36:05 +02:00
2015-04-20 17:23:10 +00:00
2014-08-12 23:19:53 +00:00
2015-05-06 21:36:15 +00:00
2015-05-06 21:36:15 +00:00
2015-02-11 10:01:20 +00:00
2015-02-10 10:08:49 +00:00
2015-02-11 10:01:20 +00:00
2015-02-10 10:08:49 +00:00
2015-02-11 10:01:20 +00:00
2015-02-10 10:34:35 +00:00
2014-06-30 17:46:26 +00:00
2015-02-11 17:24:37 +00:00
2015-10-06 08:42:51 +02:00
2015-09-01 17:53:03 -07:00
2015-02-11 10:01:20 +00:00
2015-02-11 16:20:18 +00:00
2015-09-02 16:15:02 -07:00
2015-09-28 10:04:45 -07:00
2015-09-02 16:15:02 -07:00
2015-09-02 16:15:02 -07:00
2015-09-02 16:15:02 -07:00
2015-06-18 15:19:26 +02:00
2015-06-18 15:19:26 +02:00
2015-06-18 15:19:26 +02:00
2015-03-13 12:53:07 +00:00
2015-02-18 13:20:15 +00:00
2015-06-13 06:36:24 -07:00
2015-06-24 10:36:05 +02:00
2015-02-18 13:20:15 +00:00
2015-07-10 13:57:15 +02:00
2015-07-14 12:54:07 -07:00
2015-06-18 15:19:26 +02:00
2015-01-21 20:44:04 +00:00
2015-04-27 14:46:32 +00:00
2015-09-15 12:49:52 -07:00
2015-08-26 14:42:12 +02:00
2015-10-05 12:25:20 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-01-21 20:44:04 +00:00
2015-05-19 11:41:42 -07:00
2015-01-09 13:06:37 +00:00
2015-07-29 11:30:33 -07:00
2014-08-14 00:06:04 +00:00
2015-10-06 11:27:26 -07:00
2015-05-20 15:47:41 +02:00
2015-05-20 13:14:51 +02:00
2015-08-07 10:44:20 -07:00
2015-06-15 10:13:21 +02:00
2015-06-24 10:36:05 +02:00
2015-06-15 10:13:21 +02:00
2015-06-15 10:13:21 +02:00
2015-06-15 15:26:56 +02:00
2015-06-15 15:26:56 +02:00
2015-06-15 15:26:56 +02:00
2015-09-14 12:54:36 +02:00
2015-06-24 10:36:05 +02:00
2015-10-01 07:18:27 -07:00
2015-02-03 13:38:38 +00:00
2015-01-29 18:31:27 +00:00
2015-09-15 12:49:52 -07:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-10-06 16:48:47 +02:00
2015-09-03 11:32:06 +02:00
2015-03-31 18:46:19 +00:00
2015-05-14 20:14:37 +00:00
2015-02-12 15:13:35 +00:00
2015-02-12 11:39:20 +00:00
2015-02-12 11:39:20 +00:00
2015-10-05 12:25:20 +02:00
2015-06-24 10:36:05 +02:00
2015-10-05 12:25:20 +02:00
2015-10-05 12:25:20 +02:00
2015-01-19 09:24:48 +00:00
2015-01-16 13:35:37 +00:00
2015-01-16 13:35:37 +00:00
2015-08-13 09:32:26 +02:00
2015-01-16 13:35:37 +00:00
2015-01-16 13:35:37 +00:00
2015-01-16 13:35:37 +00:00
2014-08-14 05:00:37 +00:00
2014-08-14 00:06:04 +00:00
2014-08-14 05:00:37 +00:00
2014-08-14 00:06:04 +00:00
2014-08-14 05:00:37 +00:00
2014-08-14 00:06:04 +00:00
2014-08-14 05:00:37 +00:00
2014-08-14 05:13:55 +00:00
2015-07-09 12:52:55 -07:00
2015-06-24 10:36:05 +02:00
2015-06-24 10:36:05 +02:00
2015-06-24 10:36:05 +02:00
2015-06-24 10:36:05 +02:00
2015-06-24 10:36:05 +02:00
2015-09-15 12:49:52 -07:00
2015-07-29 11:30:33 -07:00
2015-05-14 17:40:09 +00:00
2015-09-15 12:49:52 -07:00
2015-01-29 18:31:27 +00:00
2015-05-15 23:15:19 +00:00
2015-09-10 12:56:22 +02:00