mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: get rid of other Go->C calls in test exports.
testSchedLocal* tests need to malloc now because their stack frames are too big to fit on the G0 stack. LGTM=iant R=golang-codereviews, iant, khr CC=golang-codereviews https://golang.org/cl/133660043
This commit is contained in:
parent
0e19a3d6d0
commit
dbed4e9b4f
7 changed files with 49 additions and 44 deletions
|
|
@ -18,7 +18,7 @@ var Fcmp64 = fcmp64
|
|||
var Fintto64 = fintto64
|
||||
var F64toint = f64toint
|
||||
|
||||
func lockedOSThread() bool
|
||||
// in asm_*.s
|
||||
func stackguard() (sp, limit uintptr)
|
||||
|
||||
var Entersyscall = entersyscall
|
||||
|
|
@ -127,9 +127,12 @@ func GCMask(x interface{}) (ret []byte) {
|
|||
|
||||
func testSchedLocalQueue()
|
||||
func testSchedLocalQueueSteal()
|
||||
|
||||
var TestSchedLocalQueue1 = testSchedLocalQueue
|
||||
var TestSchedLocalQueueSteal1 = testSchedLocalQueueSteal
|
||||
func RunSchedLocalQueueTest() {
|
||||
onM(testSchedLocalQueue)
|
||||
}
|
||||
func RunSchedLocalQueueStealTest() {
|
||||
onM(testSchedLocalQueueSteal)
|
||||
}
|
||||
|
||||
var HaveGoodHash = haveGoodHash
|
||||
var StringHash = stringHash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue