1. 15 Feb, 2012 1 commit
  2. 04 Feb, 2012 1 commit
  3. 31 Jan, 2012 1 commit
    • Russ Cox's avatar
      build: remove Make.pkg, Make.tool · 2050a9e4
      Russ Cox authored
      Consequently, remove many package Makefiles,
      and shorten the few that remain.
      
      gomake becomes 'go tool make'.
      
      Turn off test phases of run.bash that do not work,
      flagged with $BROKEN.  Future CLs will restore these,
      but this seemed like a big enough CL already.
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/5601057
      2050a9e4
  4. 15 Dec, 2011 1 commit
    • Russ Cox's avatar
      test/bench/go1: first draft of Go 1 benchmark suite · 6e887555
      Russ Cox authored
      I have included a few important microbenchmarks,
      but the overall intent is to have mostly end-to-end
      benchmarks timing real world operations.
      
      The jsondata.go file is a summary of agl's
      activity in various open source repositories.
      It gets used as test data for many of the benchmarks.
      
      Everything links into one binary (even the test data)
      so that it is easy to run the benchmarks on many
      computers: there is just one file to copy around.
      
      R=golang-dev, r, bradfitz, adg, r
      CC=golang-dev
      https://golang.org/cl/5484071
      6e887555
  5. 13 Dec, 2011 2 commits
  6. 11 Dec, 2011 1 commit
  7. 21 Mar, 2011 1 commit
  8. 07 Mar, 2011 1 commit
    • Russ Cox's avatar
      runtime: scheduler, cgo reorganization · f9ca3b5d
      Russ Cox authored
      * Change use of m->g0 stack (aka scheduler stack).
      * Provide runtime.mcall(f) to invoke f() on m->g0 stack.
      * Replace scheduler loop entry with runtime.mcall(schedule).
      
      Runtime.mcall eliminates the need for fake scheduler states that
      exist just to run a bit of code on the m->g0 stack
      (Grecovery, Gstackalloc).
      
      The elimination of the scheduler as a loop that stops and
      starts using gosave and gogo fixes a bad interaction with the
      way cgo uses the m->g0 stack.  Cgo runs external (gcc-compiled)
      C functions on that stack, and then when calling back into Go,
      it sets m->g0->sched.sp below the added call frames, so that
      other uses of m->g0's stack will not interfere with those frames.
      Unfortunately, gogo (longjmp) back to the scheduler loop at
      this point would end up running scheduler with the lower
      sp, which no longer points at a valid stack frame for
      a call to scheduler.  If scheduler then wrote any function call
      arguments or local variables to where it expected the stack
      frame to be, it would overwrite other data on the stack.
      I realized this possibility while debugging a problem with
      calling complex Go code in a Go -> C -> Go cgo callback.
      This wasn't the bug I was looking for, it turns out, but I believe
      it is a real bug nonetheless.  Switching to runtime.mcall, which
      only adds new frames to the stack and never jumps into
      functions running in existing ones, fixes this bug.
      
      * Move cgo-related code out of proc.c into cgocall.c.
      * Add very large comment describing cgo call sequences.
      * Simpilify, regularize cgo function implementations and names.
      * Add test suite as misc/cgo/test.
      
      Now the Go -> C path calls cgocall, which calls asmcgocall,
      and the C -> Go path calls cgocallback, which calls cgocallbackg.
      
      The shuffling, which affects mainly the callback case, moves
      most of the callback implementation to cgocallback running
      on the m->curg stack (not the m->g0 scheduler stack) and
      only while accounted for with $GOMAXPROCS (between calls
      to exitsyscall and entersyscall).
      
      The previous callback code did not block in startcgocallback's
      approximation to exitsyscall, so if, say, the garbage collector
      were running, it would still barge in and start doing things
      like call malloc.  Similarly endcgocallback's approximation of
      entersyscall did not call matchmg to kick off new OS threads
      when necessary, which caused the bug in issue 1560.
      
      Fixes #1560.
      
      R=iant
      CC=golang-dev
      https://golang.org/cl/4253054
      f9ca3b5d
  9. 02 Mar, 2011 1 commit
  10. 04 Feb, 2011 1 commit
  11. 08 Dec, 2010 1 commit
  12. 30 Aug, 2010 1 commit
  13. 19 Aug, 2010 1 commit
  14. 30 Jul, 2010 1 commit
  15. 22 Jul, 2010 1 commit
  16. 09 Feb, 2010 1 commit
  17. 13 Dec, 2009 1 commit
  18. 11 Dec, 2009 1 commit
  19. 24 Nov, 2009 1 commit
    • Sergio Luis O. B. Correia's avatar
      go: makes it build for the case $GOROOT has whitespaces · 6fc82072
      Sergio Luis O. B. Correia authored
      the bash scripts and makefiles for building go didn't take into account
      the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
      and was not possible to build it in such a situation.
      
      this commit adjusts the various makefiles/scripts to make it aware of that
      possibility, and now it builds successfully when using a path with whitespaces
      as well.
      
      Fixes #115.
      
      R=rsc, dsymonds1
      https://golang.org/cl/157067
      6fc82072
  20. 14 Nov, 2009 1 commit
  21. 01 Nov, 2009 1 commit
  22. 22 Oct, 2009 1 commit
  23. 20 Oct, 2009 1 commit
  24. 15 Oct, 2009 1 commit
    • Russ Cox's avatar
      fix build: · 3ddb7daa
      Russ Cox authored
      avoid infinite loop when cd fails.
      
      TBR=r
      OCL=35750
      CL=35750
      3ddb7daa
  25. 08 Oct, 2009 1 commit
  26. 03 Oct, 2009 1 commit
    • Russ Cox's avatar
      clean more · 11d38055
      Russ Cox authored
      R=r
      DELTA=40  (9 added, 3 deleted, 28 changed)
      OCL=35277
      CL=35305
      11d38055
  27. 14 Aug, 2009 1 commit
  28. 09 Jun, 2009 1 commit
    • Rob Pike's avatar
      mv src/lib to src/pkg · d90e7cba
      Rob Pike authored
      tests: all.bash passes, gobuild still works, godoc still works.
      
      R=rsc
      OCL=30096
      CL=30102
      d90e7cba
  29. 07 Jun, 2009 1 commit
  30. 20 May, 2009 1 commit
    • Russ Cox's avatar
      clear out pkg tree in clean.bash. · 04d8605c
      Russ Cox authored
      rename place-holder to _place_holder_ so it can be avoided.
      
      R=r
      DELTA=5  (2 added, 2 deleted, 1 changed)
      OCL=29093
      CL=29097
      04d8605c
  31. 24 Mar, 2009 1 commit
    • Russ Cox's avatar
      fix build: · 85e014a2
      Russ Cox authored
      	install runtime lib in correct location.
      	fix one bad type definition in defs.h.
      	clear out $GOROOT/lib in clean.bash.
      
      TBR=r
      OCL=26691
      CL=26691
      85e014a2
  32. 24 Nov, 2008 1 commit
  33. 21 Nov, 2008 1 commit
    • Russ Cox's avatar
      convert lib to a Makefile, · 5a863a4e
      Russ Cox authored
      mainly for "make bufio.install".
      
      R=r
      DELTA=144  (80 added, 62 deleted, 2 changed)
      OCL=19760
      CL=19799
      5a863a4e
  34. 26 Sep, 2008 1 commit
    • Russ Cox's avatar
      move src/syscall to src/lib/syscall. · 6201a963
      Russ Cox authored
      enforce rule: all kernel data structures and constants
      	go in syscall module.
      move things that should be in syscall out of net.
      make net a single package.
      
      R=r
      OCL=15985
      CL=15994
      6201a963
  35. 19 Sep, 2008 1 commit
    • Russ Cox's avatar
      add gobuild. · 72e3b204
      Russ Cox authored
      use gobuild-generated Makefile for math and os.
      other makefile tweaks.
      move math/main.go to test/math.go
      
      R=r
      OCL=15529
      CL=15537
      72e3b204
  36. 18 Sep, 2008 1 commit
    • Russ Cox's avatar
      make Makefiles safe for parallel make · 76036192
      Russ Cox authored
      use -j4 (4-way parallel) in make.bash.
      
      halves time for make.bash on r45
      
      also add libregexp, acid to default build
      
      R=r
      DELTA=90  (39 added, 37 deleted, 14 changed)
      OCL=15485
      CL=15487
      76036192
  37. 08 Aug, 2008 1 commit
    • Rob Pike's avatar
      include syscall in default build · fa7d54ff
      Rob Pike authored
      fix an issue with autolib names by compiling to target location
      print a bit more when compiling
      
      R=gri
      OCL=13988
      CL=13988
      fa7d54ff
  38. 09 Jul, 2008 1 commit
  39. 14 Jun, 2008 1 commit