diff options
| author | Austin Clements <austin@google.com> | 2021-04-13 08:32:21 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2021-04-13 21:13:11 +0000 |
| commit | e69f02265c74529a368a2ff27fdce4aeb3483e8b (patch) | |
| tree | 1d7c994ca75b2d642a8a3b6ec37f1bb1c0cb4078 /src/runtime/sys_windows_arm64.s | |
| parent | e512bc2cf0ce18342571fdbcdcd43d2bb13ef55b (diff) | |
| download | go-e69f02265c74529a368a2ff27fdce4aeb3483e8b.tar.xz | |
runtime: use newm for profileloop
This replaces the externalthreadhandler-based implementation of
profileloop with one that uses newm to start a new thread. This is a
step toward eliminating externalthreadhandler.
For #45530.
Change-Id: Id8e5540423fe2d2004024b649afec6998f77b092
Reviewed-on: https://go-review.googlesource.com/c/go/+/309633
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/sys_windows_arm64.s')
| -rw-r--r-- | src/runtime/sys_windows_arm64.s | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/sys_windows_arm64.s b/src/runtime/sys_windows_arm64.s index 4512fbc8b0..70f628c27d 100644 --- a/src/runtime/sys_windows_arm64.s +++ b/src/runtime/sys_windows_arm64.s @@ -299,10 +299,6 @@ TEXT runtime·lastcontinuetramp(SB),NOSPLIT|NOFRAME,$0 MOVD $runtime·lastcontinuehandler<ABIInternal>(SB), R1 B sigtramp<>(SB) -TEXT runtime·profileloop<ABIInternal>(SB),NOSPLIT|NOFRAME,$0 - MOVD $runtime·profileloop1(SB), R1 - B runtime·externalthreadhandler<ABIInternal>(SB) - // externalthreadhander called with R0 = uint32 arg, R1 = Go function f. // Need to call f(arg), which returns a uint32, and return it in R0. TEXT runtime·externalthreadhandler<ABIInternal>(SB),NOSPLIT|TOPFRAME,$96-0 |
