]> Cypherpunks repositories - gostls13.git/commit
runtime: introduce GODEBUG env var
authorDmitriy Vyukov <dvyukov@google.com>
Fri, 28 Jun 2013 14:37:06 +0000 (18:37 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Fri, 28 Jun 2013 14:37:06 +0000 (18:37 +0400)
commit4b536a550f1a9edd7be5c777dfb5eb906320eb89
treeb372383d0e4c6b715a2baf475d68391f40d1a652
parent1e112cd59f560129f4dca5e9af7c3cbc445850b6
runtime: introduce GODEBUG env var
Currently it replaces GOGCTRACE env var (GODEBUG=gctrace=1).
The plan is to extend it with other type of debug tracing,
e.g. GODEBUG=gctrace=1,schedtrace=100.

R=rsc
CC=bradfitz, daniel.morsing, gobot, golang-dev
https://golang.org/cl/10026045
src/pkg/runtime/crash_test.go
src/pkg/runtime/extern.go
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/proc.c
src/pkg/runtime/race/race_test.go
src/pkg/runtime/runtime.c
src/pkg/runtime/runtime.h