Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(19)

Unified Diff: src/pkg/runtime/malloc.go

Issue 140740043: code review 140740043: runtime: include constants and defs_*_*.h types in gene... (Closed)
Patch Set: diff -r 40906c63a04eeb1fc292cd559e57bfcdeff64e7f https://code.google.com/p/go/ Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/runtime/defs_solaris_amd64.h ('k') | src/pkg/runtime/netpoll_kqueue.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/malloc.go
===================================================================
--- a/src/pkg/runtime/malloc.go
+++ b/src/pkg/runtime/malloc.go
@@ -22,15 +22,13 @@
pageSize = 1 << pageShift
pageMask = pageSize - 1
- gcBits = 4
- wordsPerBitmapByte = 8 / gcBits
- bitsPerPointer = 2
- bitsMask = 1<<bitsPerPointer - 1
- pointersPerByte = 8 / bitsPerPointer
- bitPtrMask = bitsMask << 2
- maxGCMask = 64
- bitsDead = 0
- bitsPointer = 2
+ bitsPerPointer = 2
+ bitsMask = 1<<bitsPerPointer - 1
+ pointersPerByte = 8 / bitsPerPointer
+ bitPtrMask = bitsMask << 2
+ maxGCMask = 64
+ bitsDead = 0
+ bitsPointer = 2
bitBoundary = 1
bitMarked = 2
« no previous file with comments | « src/pkg/runtime/defs_solaris_amd64.h ('k') | src/pkg/runtime/netpoll_kqueue.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b