Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(745)

Issue 11490014: PPAPI: Make Messaging not PostTask and copy when out-of-process. (Closed)

Created:
8 years ago by teravest
Modified:
8 years ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

PPAPI: Make Messaging not PostTask and copy when out-of-process. This is a modification of dmichael's change at: https://codereview.chromium.org/11264049/ ...except that it passes unit tests. To prevent posting messages while the plugin element is being initialized, we queue events early on, and don't post them to javascript until our plugin is set up in the DOM. From dmichael's change description: """ I ran John McCutchan's benchmark (https://github.com/johnmccutchan/NaClComputeEngineBenchmark); this improves the NaCl IPC proxy performance. Without this CL, the benchmark will actually run out of memory and crash on the last test. Results are here: https://docs.google.com/a/google.com/spreadsheet/ccc?key=0AuwLeGmMcfz0dDBXc1dmLUl6Q3dsSW1fUWVZWE5vaHc """ BUG=147597, 116317 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172620

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Fixed NaCl plugins #

Total comments: 6

Patch Set 6 : state machine for early message queue #

Patch Set 7 : #

Total comments: 6

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -17 lines) Patch
M webkit/plugins/ppapi/message_channel.h View 1 2 3 4 5 6 7 3 chunks +22 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/message_channel.cc View 1 2 3 4 5 6 7 4 chunks +65 lines, -10 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
teravest
8 years ago (2012-12-10 21:45:18 UTC) #1
dmichael (off chromium)
https://codereview.chromium.org/11490014/diff/2001/webkit/plugins/ppapi/message_channel.cc File webkit/plugins/ppapi/message_channel.cc (right): https://codereview.chromium.org/11490014/diff/2001/webkit/plugins/ppapi/message_channel.cc#newcode365 webkit/plugins/ppapi/message_channel.cc:365: // unblocked. Therefore, there's no need to PostTask. This ...
8 years ago (2012-12-10 22:02:52 UTC) #2
teravest
https://codereview.chromium.org/11490014/diff/2001/webkit/plugins/ppapi/message_channel.cc File webkit/plugins/ppapi/message_channel.cc (right): https://codereview.chromium.org/11490014/diff/2001/webkit/plugins/ppapi/message_channel.cc#newcode365 webkit/plugins/ppapi/message_channel.cc:365: // unblocked. Therefore, there's no need to PostTask. On ...
8 years ago (2012-12-10 22:30:59 UTC) #3
dmichael (off chromium)
lgtm https://codereview.chromium.org/11490014/diff/2001/webkit/plugins/ppapi/message_channel.cc File webkit/plugins/ppapi/message_channel.cc (right): https://codereview.chromium.org/11490014/diff/2001/webkit/plugins/ppapi/message_channel.cc#newcode394 webkit/plugins/ppapi/message_channel.cc:394: early_message_queue_.pop_front(); On 2012/12/10 22:30:59, teravest wrote: > I ...
8 years ago (2012-12-10 22:49:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/11490014/5001
8 years ago (2012-12-10 23:00:52 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-10 23:53:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/11490014/15002
8 years ago (2012-12-10 23:53:54 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests
8 years ago (2012-12-11 02:13:02 UTC) #8
teravest
Fixed the CL so it passes tests for in-process, nacl plugins. The method names are ...
8 years ago (2012-12-11 17:42:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/11490014/17001
8 years ago (2012-12-11 17:48:13 UTC) #10
dmichael (off chromium)
https://chromiumcodereview.appspot.com/11490014/diff/17001/webkit/plugins/ppapi/message_channel.cc File webkit/plugins/ppapi/message_channel.cc (right): https://chromiumcodereview.appspot.com/11490014/diff/17001/webkit/plugins/ppapi/message_channel.cc#newcode388 webkit/plugins/ppapi/message_channel.cc:388: DCHECK(queue_js_messages_); Do you think there's any chance of calling ...
8 years ago (2012-12-11 18:55:55 UTC) #11
teravest1
On Tue, Dec 11, 2012 at 11:55 AM, <dmichael@chromium.org> wrote: > > https://chromiumcodereview.appspot.com/11490014/diff/17001/webkit/plugins/ppapi/message_channel.cc > File ...
8 years ago (2012-12-11 19:13:00 UTC) #12
teravest
https://chromiumcodereview.appspot.com/11490014/diff/17001/webkit/plugins/ppapi/message_channel.cc File webkit/plugins/ppapi/message_channel.cc (right): https://chromiumcodereview.appspot.com/11490014/diff/17001/webkit/plugins/ppapi/message_channel.cc#newcode388 webkit/plugins/ppapi/message_channel.cc:388: DCHECK(queue_js_messages_); On 2012/12/11 18:55:55, dmichael wrote: > Do you ...
8 years ago (2012-12-11 21:32:12 UTC) #13
dmichael (off chromium)
https://codereview.chromium.org/11490014/diff/26002/webkit/plugins/ppapi/message_channel.h File webkit/plugins/ppapi/message_channel.h (right): https://codereview.chromium.org/11490014/diff/26002/webkit/plugins/ppapi/message_channel.h#newcode108 webkit/plugins/ppapi/message_channel.h:108: QUEUE, // Queue JS messages. I think it might ...
8 years ago (2012-12-11 22:35:30 UTC) #14
teravest
https://codereview.chromium.org/11490014/diff/26002/webkit/plugins/ppapi/message_channel.h File webkit/plugins/ppapi/message_channel.h (right): https://codereview.chromium.org/11490014/diff/26002/webkit/plugins/ppapi/message_channel.h#newcode108 webkit/plugins/ppapi/message_channel.h:108: QUEUE, // Queue JS messages. On 2012/12/11 22:35:30, dmichael ...
8 years ago (2012-12-11 22:43:39 UTC) #15
dmichael (off chromium)
lgtm
8 years ago (2012-12-11 23:11:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/11490014/33001
8 years ago (2012-12-12 01:22:34 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_net_tests, chrome_frame_unittests, content_browsertests, installer_util_unittests, mini_installer_test, nacl_integration, ...
8 years ago (2012-12-12 05:23:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/11490014/33001
8 years ago (2012-12-12 15:34:03 UTC) #19
commit-bot: I haz the power
8 years ago (2012-12-12 17:13:46 UTC) #20
Message was sent while issue was closed.
Change committed as 172620

Powered by Google App Engine
This is Rietveld 408576698