r244236 - in /trunk: gcc/go/gofrontend/MERGE li...

ian@gcc.gnu.org ian@gcc.gnu.org
Mon Jan 9 19:37:00 GMT 2017


Author: ian
Date: Mon Jan  9 19:37:19 2017
New Revision: 244236

URL: https://gcc.gnu.org/viewcvs?rev=244236&root=gcc&view=rev
Log:
    runtime: copy more of scheduler from Go 1.7 runtime
    
    This started by moving procresize from C to Go so that we can pass the
    right type to the memory allocator when allocating a p, which forced
    the gomaxprocs variable to move from C to Go, and everything else
    followed from that.
    
    Reviewed-on: https://go-review.googlesource.com/34916

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/runtime/debug.go
    trunk/libgo/go/runtime/export_test.go
    trunk/libgo/go/runtime/lock_futex.go
    trunk/libgo/go/runtime/lock_sema.go
    trunk/libgo/go/runtime/proc.go
    trunk/libgo/go/runtime/proc_test.go
    trunk/libgo/go/runtime/runtime2.go
    trunk/libgo/go/runtime/stubs.go
    trunk/libgo/go/runtime/trace.go
    trunk/libgo/runtime/heapdump.c
    trunk/libgo/runtime/malloc.goc
    trunk/libgo/runtime/malloc.h
    trunk/libgo/runtime/mgc0.c
    trunk/libgo/runtime/proc.c
    trunk/libgo/runtime/runtime.h



More information about the Gcc-cvs mailing list