• Austin Clements's avatar
    runtime: test that periodic GC works · e01be841
    Austin Clements authored
    We've broken periodic GC a few times without noticing because there's
    no test for it, partly because you have to wait two minutes to see if
    it happens. This exposes control of the periodic GC timeout to runtime
    tests and adds a test that cranks it down to zero and sleeps for a bit
    to make sure periodic GCs happen.
    
    Change-Id: I3ec44e967e99f4eda752f85c329eebd18b87709e
    Reviewed-on: https://go-review.googlesource.com/13169Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    Run-TryBot: Austin Clements <austin@google.com>
    e01be841
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...