|
runtime: assume precisestack, copystack, StackCopyAlways, ScanStackByFrames
Commit to stack copying for stack growth.
We're carrying around a surprising amount of cruft from older schemes.
I am confident that precise stack scans and stack copying are here to stay.
Delete fallback code for when precise stack info is disabled.
Delete fallback code for when copying stacks is disabled.
Delete fallback code for when StackCopyAlways is disabled.
Delete Stktop chain - there is only one stack segment now.
Delete M.moreargp, M.moreargsize, M.moreframesize, M.cret.
Delete G.writenbuf (unrelated, just dead).
Delete runtime.lessstack, runtime.oldstack.
Delete many amd64 morestack variants.
Delete initialization of morestack frame/arg sizes (shortens split prologue!).
Replace G's stackguard/stackbase/stack0/stacksize/
syscallstack/syscallguard/forkstackguard with simple stack
bounds (lo, hi).
Update liblink, runtime/cgo for adjustments to G.
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+359 lines, -2894 lines) |
Patch |
 |
M |
include/link.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/dist/buildruntime.c
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/liblink/obj5.c
|
View
|
1
2
|
3 chunks |
+3 lines, -27 lines |
0 comments
|
Download
|
 |
M |
src/liblink/obj6.c
|
View
|
1
2
|
10 chunks |
+16 lines, -170 lines |
0 comments
|
Download
|
 |
M |
src/liblink/obj8.c
|
View
|
1
2
|
6 chunks |
+7 lines, -32 lines |
0 comments
|
Download
|
 |
M |
src/runtime/asm_386.s
|
View
|
1
2
|
6 chunks |
+11 lines, -41 lines |
0 comments
|
Download
|
 |
M |
src/runtime/asm_amd64.s
|
View
|
1
2
|
9 chunks |
+19 lines, -155 lines |
0 comments
|
Download
|
 |
M |
src/runtime/asm_amd64p32.s
|
View
|
1
2
|
7 chunks |
+15 lines, -152 lines |
0 comments
|
Download
|
 |
M |
src/runtime/asm_arm.s
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+8 lines, -31 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_darwin_386.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_darwin_amd64.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_dragonfly_386.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_dragonfly_amd64.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_freebsd_386.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_freebsd_amd64.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_freebsd_arm.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_linux_386.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_linux_amd64.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_linux_arm.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_netbsd_386.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_netbsd_amd64.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_netbsd_arm.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_openbsd_386.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_openbsd_amd64.c
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_windows_386.c
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/gcc_windows_amd64.c
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/runtime/cgo/libcgo.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/runtime/export_test.go
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/heapdump.c
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
src/runtime/malloc.go
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/runtime/mgc0.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/runtime/mgc0.c
|
View
|
1
|
2 chunks |
+2 lines, -41 lines |
0 comments
|
Download
|
 |
M |
src/runtime/os_darwin.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/os_dragonfly.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/os_freebsd.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/os_linux.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/os_nacl.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/os_netbsd.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/os_openbsd.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/os_solaris.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/panic.c
|
View
|
1
|
2 chunks |
+5 lines, -30 lines |
0 comments
|
Download
|
 |
M |
src/runtime/proc.c
|
View
|
1
|
27 chunks |
+68 lines, -88 lines |
0 comments
|
Download
|
 |
M |
src/runtime/runtime.h
|
View
|
1
2
|
11 chunks |
+31 lines, -41 lines |
0 comments
|
Download
|
 |
M |
src/runtime/stack.h
|
View
|
1
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
src/runtime/stack.c
|
View
|
1
2
3
|
26 chunks |
+105 lines, -278 lines |
0 comments
|
Download
|
 |
R |
src/runtime/stack_gen_test.go
|
View
|
1
|
1 chunk |
+0 lines, -1473 lines |
0 comments
|
Download
|
 |
M |
src/runtime/stack_test.go
|
View
|
1
|
1 chunk |
+0 lines, -54 lines |
0 comments
|
Download
|
 |
M |
src/runtime/stubs.go
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/traceback.go
|
View
|
1
|
6 chunks |
+1 line, -37 lines |
0 comments
|
Download
|
 |
R |
src/runtime/traceback_windows.go
|
View
|
1
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
Total messages: 7
|