• Austin Clements's avatar
    runtime: simplify forced GC triggering · 3d58498f
    Austin Clements authored
    Now that the gcMode is no longer involved in the GC trigger condition,
    we can simplify the triggering of forced GCs. By making the trigger
    condition for forced GCs true even if gcphase is not _GCoff, we don't
    need any special case path in gcStart to ensure that forced GCs don't
    get consolidated.
    
    Change-Id: I6067a13d76e40ff2eef8fade6fc14adb0cb58ee5
    Reviewed-on: https://go-review.googlesource.com/37517
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    3d58498f
Name
Last commit
Last update
.github Loading commit data...
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...