Skip to content

Commit 49b2d4c

Browse files
mknyszekezz-no
authored andcommitted
doc: fix formatting of runtime and runtime/trace release notes
For golang#61422. Change-Id: I621627140d2d5ebede9b932a7e55fbe92ded5249 Reviewed-on: https://go-review.googlesource.com/c/go/+/548935 Auto-Submit: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Pratt <[email protected]>
1 parent 6e71d0c commit 49b2d4c

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

doc/go1.22.html

+9-5
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,14 @@ <h2 id="runtime">Runtime</h2>
177177
<p><!-- CL 543255 -->
178178
The runtime now keeps type-based garbage collection metadata nearer to each
179179
heap object, improving the CPU performance (latency or throughput) of Go programs
180-
by 1&mdash;3%.
180+
by 1&ndash;3%.
181181
This change also reduces the memory overhead of the majority Go programs by
182182
approximately 1% by deduplicating redundant metadata.
183183
Some programs may see a smaller improvement because this change adjusts the size
184184
class boundaries of the memory allocator, so some objects may be moved up a size
185185
class.
186-
<br />
186+
</p>
187+
<p>
187188
A consequence of this change is that some objects' addresses that were previously
188189
always aligned to a 16 byte (or higher) boundary will now only be aligned to an 8
189190
byte boundary.
@@ -749,7 +750,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
749750
<p><!-- https://go.dev/issue/60773 -->
750751
The execution tracer has been completely overhauled in this release, resolving several long-standing
751752
issues and paving the way for new use-cases for execution traces.
752-
<br />
753+
</p>
754+
<p>
753755
Execution traces now use the operating system's clock on most platforms (Windows excluded) so
754756
it is possible to correlate them with traces produced by lower-level components.
755757
Execution traces no longer depend on the reliability of the platform's clock to produce a correct trace.
@@ -759,13 +761,15 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
759761
Execution traces now contain information about the operating system threads that goroutines executed on.
760762
The latency impact of starting and stopping execution traces has been dramatically reduced.
761763
Execution traces may now begin or end during the garbage collection mark phase.
762-
<br />
764+
</p>
765+
<p>
763766
To allow Go developers to take advantage of these improvements, an experimental
764767
trace reading package is available at <a href="/pkg/golang.org/x/exp/trace">golang.org/x/exp/trace</a>.
765768
Note that this package only works on traces produced by programs built with Go 1.22 at the moment.
766769
Please try out the package and provide feedback on
767770
<a href="https://github.com/golang/go/issues/62627">the corresponding proposal issue</a>.
768-
<br />
771+
</p>
772+
<p>
769773
If you experience any issues with the new execution tracer implementation, you may switch back to the
770774
old implementation by building your Go program with <code>GOEXPERIMENT=noexectracer2</code>.
771775
If you do, please file an issue, otherwise this option will be removed in a future release.

0 commit comments

Comments
 (0)