1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:10:07 -07:00

doc: rewrite run-on sentence in garbage collection discussion

Change-Id: I60cb7010448757ca4c7a2973bee2277b3d5fc439
Reviewed-on: https://go-review.googlesource.com/124175
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Rob Pike 2018-07-17 07:22:41 +10:00
parent f17220c208
commit c4f30481b3

View File

@ -2348,9 +2348,9 @@ simpler because they don't need to specify how memory is managed across them.
</p>
<p>
The current implementation is a mark-and-sweep collector that runs
in parallel with the main program on a separate CPU core if the
machine is a multiprocessor.
The current implementation is a mark-and-sweep collector.
If the machine is a multiprocessor, it runs on a separate CPU
core in parallel with the main program.
Major work on the collector in recent years has reduced pause times
often to the sub-millisecond range, even for large heaps,
all but eliminating one of the major objections to garbage collection