diff --git a/doc/go1.9.html b/doc/go1.9.html index 34c0ea2bc8..85e0c3e1fa 100644 --- a/doc/go1.9.html +++ b/doc/go1.9.html @@ -152,8 +152,35 @@ type T1 = T2
- TODO(austin): give update. +
+ Library functions that used to trigger stop-the-world garbage
+ collection now trigger concurrent garbage collection.
+
+ Specifically, runtime.GC
,
+ debug.SetGCPercent
,
+ and
+ debug.FreeOSMemory
,
+ now trigger concurrent garbage collection, blocking only the calling
+ goroutine until the garbage collection is done.
+
+ The
+ debug.SetGCPercent
+ function only triggers a garbage collection if one is immediately
+ necessary because of the new GOGC value.
+ This makes it possible to adjust GOGC on-the-fly.
+
+ Large object allocation performance is significantly improved in + applications using large (>50GB) heaps containing many large + objects. +
+ +
+ The runtime.ReadMemStats
+ function now takes less than 100µs even for very large heaps.
- TODO: https://golang.org/cl/34937: make ReadMemStats STW for < 25µs -
-TODO: https://golang.org/cl/35710: make time correctly update on Wine
@@ -498,10 +521,6 @@ type T1 = T2 TODO: https://golang.org/cl/37441: make complex division c99 compatible -- TODO: https://golang.org/cl/37520: make runtime.GC() trigger a concurrent GC -
-TODO: https://golang.org/cl/37726: strongly encourage CallersFrames with the result of Callers
@@ -520,18 +539,6 @@ type T1 = T2 -- TODO: https://golang.org/cl/34013: don't run a GC when setting SetGCPercent negative -
- -- TODO: https://golang.org/cl/39835: don't trigger a GC on SetGCPercent -
- -