1. 02 May, 2014 2 commits
    • Dmitriy Vyukov's avatar
      runtime: make MemStats.LastGC Unix time again · 350a8fcd
      Dmitriy Vyukov authored
      The monotonic clock patch changed all runtime times
      to abstract monotonic time. As the result user-visible
      MemStats.LastGC become monotonic time as well.
      Restore Unix time for LastGC.
      
      This is the simplest way to expose time.now to runtime that I found.
      Another option would be to change time.now to C called
      int64 runtime.unixnanotime() and then express time.now in terms of it.
      But this would require to introduce 2 64-bit divisions into time.now.
      Another option would be to change time.now to C called
      void runtime.unixnanotime1(struct {int64 sec, int32 nsec} *now)
      and then express both time.now and runtime.unixnanotime in terms of it.
      
      Fixes #7852.
      
      LGTM=minux.ma, iant
      R=minux.ma, rsc, iant
      CC=golang-codereviews
      https://golang.org/cl/93720045
      350a8fcd
    • Russ Cox's avatar
      os: cut limited read to 1 GB · 3879f0ab
      Russ Cox authored
      If systems actually read that much, using 2GB-1 will
      result in misaligned subsequent reads. Use 1GB instead,
      which will certainly keep reads aligned and which is
      plenty large enough.
      
      Update #7812.
      
      LGTM=bradfitz
      R=bradfitz
      CC=golang-codereviews
      https://golang.org/cl/94070044
      3879f0ab
  2. 01 May, 2014 4 commits
  3. 30 Apr, 2014 5 commits
  4. 29 Apr, 2014 6 commits
  5. 28 Apr, 2014 9 commits
  6. 27 Apr, 2014 8 commits
  7. 26 Apr, 2014 4 commits
  8. 25 Apr, 2014 2 commits