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

Delta Between Two Patch Sets: src/pkg/runtime/mgc0.h

Issue 160200044: [dev.power64] code review 160200044: build: merge default into dev.power64 (Closed)
Left Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 months ago
Right Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/memmove_plan9_amd64.s ('k') | src/pkg/runtime/mgc0.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // Garbage collector (GC) 5 // Garbage collector (GC)
6 6
7 enum { 7 enum {
8 ScanStackByFrames = 1, 8 ScanStackByFrames = 1,
9 9
10 // TODO(rsc): Half the code in the garbage collector 10 // TODO(rsc): Half the code in the garbage collector
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // The bitmap starts at mheap.arena_start and extends *backward* from 76 // The bitmap starts at mheap.arena_start and extends *backward* from
77 // there. On a 64-bit system the off'th word in the arena is tracked by 77 // there. On a 64-bit system the off'th word in the arena is tracked by
78 // the off/16+1'th word before mheap.arena_start. (On a 32-bit system, 78 // the off/16+1'th word before mheap.arena_start. (On a 32-bit system,
79 // the only difference is that the divisor is 8.) 79 // the only difference is that the divisor is 8.)
80 80
81 #define bitBoundary ((uintptr)1) // boundary of an object 81 #define bitBoundary ((uintptr)1) // boundary of an object
82 #define bitMarked ((uintptr)2) // marked object 82 #define bitMarked ((uintptr)2) // marked object
83 83
84 #define bitMask ((uintptr)bitBoundary|bitMarked) 84 #define bitMask ((uintptr)bitBoundary|bitMarked)
85 #define bitPtrMask ((uintptr)BitsMask<<2) 85 #define bitPtrMask ((uintptr)BitsMask<<2)
LEFTRIGHT

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