diff options
author | Derek Schuff <dschuff@chromium.org> | 2013-01-14 17:24:21 -0800 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2013-01-14 17:24:21 -0800 |
commit | bedd5104775bcc8ed851721de63a01c9a032869f (patch) | |
tree | 3c7a512175c30609acba889154e5f7ea2f1064b2 /lib/Support/LockFileManager.cpp | |
parent | 0590f4264010a852dc22c9afa16a7df4d004c19a (diff) |
Limit the size of the bitcode download buffer on the untrusted side.
Previously if compilation was slower than download, bitcode waiting to be
compiled would accumulate in the SRPCStreamer buffer in llc. This CL limits
the size of that buffer and instead causes the RPC called from the browser
to block until there is room (i.e., the compilation has consumed enough
to cach up). This reduces the memory requirements on the untrusted side, and
also makes it possible for the browser plugin to get an estimate of the
progress of the compilation
R=jvoung@chromium.org,robertm@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/11360087
Diffstat (limited to 'lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions