1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:30:05 -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>
<p> <p>
The current implementation is a mark-and-sweep collector that runs The current implementation is a mark-and-sweep collector.
in parallel with the main program on a separate CPU core if the If the machine is a multiprocessor, it runs on a separate CPU
machine is a multiprocessor. core in parallel with the main program.
Major work on the collector in recent years has reduced pause times Major work on the collector in recent years has reduced pause times
often to the sub-millisecond range, even for large heaps, often to the sub-millisecond range, even for large heaps,
all but eliminating one of the major objections to garbage collection all but eliminating one of the major objections to garbage collection