Commit a8a85281 authored by Matthew Dempsky's avatar Matthew Dempsky
Browse files

runtime: fix documented alignment of 32KiB and 64KiB size classes

As Cherry pointed out on golang.org/cl/299909, the page allocator
doesn't guarantee any alignment for multi-page allocations, so object
alignments are thus implicitly capped at page alignment.

Change-Id: I6f5df27f269b095cde54056f876fe4240f69c5c7
Reviewed-on: https://go-review.googlesource.com/c/go/+/301292


Reviewed-by: default avatarCherry Zhang <cherryyz@google.com>
Trust: Matthew Dempsky <mdempsky@google.com>
parent 8e725f84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment