An error occurred fetching the project authors.
  1. 12 Nov, 2015 1 commit
  2. 30 Oct, 2015 1 commit
    • Russ Cox's avatar
      runtime: introduce GOTRACEBACK=single, now the default · bf1de1b1
      Russ Cox authored
      Abandon (but still support) the old numbering system.
      
      GOTRACEBACK=none is old 0
      GOTRACEBACK=single is the new behavior
      GOTRACEBACK=all is old 1
      GOTRACEBACK=system is old 2
      GOTRACEBACK=crash is unchanged
      
      See doc comment change in runtime1.go for details.
      
      Filed #13107 to decide whether to change default back to GOTRACEBACK=all for Go 1.6 release.
      If you run into programs where printing only the current goroutine omits
      needed information, please add details in a comment on that issue.
      
      Fixes #12366.
      
      Change-Id: I82ca8b99b5d86dceb3f7102d38d2659d45dbe0db
      Reviewed-on: https://go-review.googlesource.com/16512Reviewed-by: default avatarAustin Clements <austin@google.com>
      bf1de1b1
  3. 27 Jul, 2015 1 commit
  4. 13 Jul, 2015 1 commit
  5. 20 Apr, 2015 1 commit
    • Russ Cox's avatar
      runtime: replace func-based write barrier skipping with type-based · 181e26b9
      Russ Cox authored
      This CL revises CL 7504 to use explicitly uintptr types for the
      struct fields that are going to be updated sometimes without
      write barriers. The result is that the fields are now updated *always*
      without write barriers.
      
      This approach has two important properties:
      
      1) Now the GC never looks at the field, so if the missing reference
      could cause a problem, it will do so all the time, not just when the
      write barrier is missed at just the right moment.
      
      2) Now a write barrier never happens for the field, avoiding the
      (correct) detection of inconsistent write barriers when GODEBUG=wbshadow=1.
      
      Change-Id: Iebd3962c727c0046495cc08914a8dc0808460e0e
      Reviewed-on: https://go-review.googlesource.com/9019Reviewed-by: default avatarAustin Clements <austin@google.com>
      Run-TryBot: Russ Cox <rsc@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      181e26b9
  6. 26 Mar, 2015 1 commit
  7. 26 Feb, 2015 1 commit
    • Matthew Dempsky's avatar
      runtime: simplify CPU profiling code · 3c8a89da
      Matthew Dempsky authored
      This makes Go's CPU profiling code somewhat more idiomatic; e.g.,
      using := instead of forward declaring variables, using "int" for
      element counts instead of "uintptr", and slices instead of C-style
      pointer+length.  This makes the code easier to read and eliminates a
      lot of type conversion clutter.
      
      Additionally, in sigprof we can collect just maxCPUProfStack stack
      frames, as cpuprof won't use more than that anyway.
      
      Change-Id: I0235b5ae552191bcbb453b14add6d8c01381bd06
      Reviewed-on: https://go-review.googlesource.com/6072
      Run-TryBot: Matthew Dempsky <mdempsky@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarDmitry Vyukov <dvyukov@google.com>
      3c8a89da
  8. 14 Jan, 2015 2 commits
  9. 11 Nov, 2014 1 commit
    • Russ Cox's avatar
      [dev.cc] runtime: convert signal handlers from C to Go · 2d917c0c
      Russ Cox authored
      This code overused macros and could not be
      converted automatically. Instead a new sigctxt
      type had to be defined for each os/arch combination,
      with a common (implicit) interface used by the
      arch-specific signal handler code.
      
      [This CL is part of the removal of C code from package runtime.
      See golang.org/s/dev.cc for an overview.]
      
      LGTM=r
      R=r
      CC=austin, dvyukov, golang-codereviews, iant, khr
      https://golang.org/cl/168500044
      2d917c0c