[go] runtime: further reduce number of size classes

0 views
Skip to first unread message

Michael Matloob (Gerrit)

unread,
4:31 PM (1 hour ago) 4:31 PM
to Michael Matloob, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Michael Pratt, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Michael Matloob submitted the change

Change information

Commit message:
runtime: further reduce number of size classes

We now will only generate size specialized functions for size clases
less than or equal to 7. This brings down the size of the generated
functions from around 21k to around 16k.

For #79286
Change-Id: I1adafd3674004069ed6461ef63228bfc6a6a6964
Reviewed-by: Michael Matloob <mat...@google.com>
Reviewed-by: Michael Pratt <mpr...@google.com>
Files:
  • M src/cmd/compile/internal/ir/symtab.go
  • M src/cmd/compile/internal/ssagen/ssa.go
  • M src/runtime/_mkmalloc/constants.go
  • M src/runtime/_mkmalloc/mkmalloc.go
  • M src/runtime/malloc_generated.go
  • M src/runtime/malloc_tables_generated.go
Change size: L
Delta: 6 files changed, 9 insertions(+), 835 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I1adafd3674004069ed6461ef63228bfc6a6a6964
Gerrit-Change-Number: 780300
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@google.com>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages