Go to file
Mike Klein c588af9a69 bigger channel buffers in fm_bot
In really catastrophic cases like an fm binary hacked up to crash all
the time, we'll deadlock splitting failed batches up into individual
re-runs here

    // If a batch of sources ran and failed, split them up and try again.
    for _, source := range w.Sources {
        wg.Add(1)
        queue <- work{[]string{source}, w.Flags}
    }

Those <- writes will block once queue becomes full, which is really easy
to do here since we originally got close to filling the queue, and now
we're multiplying that by some K factor with all those failures.

There's probably a better way to do this than to make the queues have a
~1M element buffer, but it's kind of the easiest thing to do without
really restructuring how the code works.  If this proves fussy I'll
probably stop using channels and replace them with a mutex and a slice.

Change-Id: I95d61f9003c708ff5e149c6c030ef10adb14c6df
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/231679
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-08-01 23:01:07 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench fix bench to scale up, so we don't skip high-qual-filter 2019-07-31 20:59:32 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
build_overrides Update to Dawn ToT. 2019-07-22 16:20:36 +00:00
dm Add GrProtected parameter to all createBackendTexture variants 2019-07-01 19:46:18 +00:00
docker fix Dockerfile? 2019-06-24 16:34:59 +00:00
docs/examples Reland "hide drawlooper from paint" 2019-07-22 20:03:36 +00:00
example ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
experimental editor: try to fix moltenvk bots 2019-07-30 17:11:03 +00:00
fuzz Make fuzzing use embedded test font 2019-06-03 16:29:21 +00:00
gm Revert "SkColorfilters::HSLAMatrix" 2019-08-01 21:10:31 +00:00
gn sketch SkVMBlitter 2019-08-01 22:22:03 +00:00
include Revert "let color filters tell us their alpha format" 2019-08-01 21:11:36 +00:00
infra Add a kind of asset for MSKPs so the skpbench bot can read them. 2019-08-01 20:29:52 +00:00
modules [skottie] Suppress placeholder range selector warnings 2019-08-01 17:18:31 +00:00
platform_tools SkQP: Refactor Java method SkQP.runTests() 2019-07-24 13:54:15 +00:00
resources flesh out SkVM ops a bit more 2019-07-29 20:43:10 +00:00
samplecode remove code now that loopers are dead (w.r.t. canvas and paint) 2019-07-30 12:49:28 +00:00
site documentation/build, BUILDCONFIG: Visual Studio Build Tools 2019 2019-07-12 14:17:16 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Renove GrPixelConfig from GrGLGpu::uploadTexData 2019-08-01 22:59:17 +00:00
tests remove unneeded bitmapprovider abstraction 2019-08-01 21:24:02 +00:00
third_party rewrite *.gn and #includes on CheckGeneratedFiles bot 2019-07-25 20:48:33 +00:00
tools bigger channel buffers in fm_bot 2019-08-01 23:01:07 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn experimental/editor: clean up BUILD.gn 2019-07-30 14:28:58 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll ../src f6d0e4f58cbd..9aeb39b9ab0a (441 commits) 2019-08-01 04:56:45 +00:00
go.mod Update Go deps 2019-08-01 05:26:05 +00:00
go.sum Update Go deps 2019-08-01 05:26:05 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py don't try to format includes on windows 2019-07-29 22:23:49 +00:00
public.bzl First draft of Dawn backend: clears are working. 2019-07-18 18:09:12 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Revert "SkColorfilters::HSLAMatrix" 2019-08-01 21:10:31 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.