An error occurred fetching the project authors.
  1. 07 Dec, 2009 1 commit
  2. 19 Nov, 2009 1 commit
  3. 18 Nov, 2009 1 commit
  4. 17 Nov, 2009 1 commit
  5. 11 Nov, 2009 1 commit
  6. 16 Oct, 2009 1 commit
    • Russ Cox's avatar
      rename sys functions to runtime, · 22a5c78f
      Russ Cox authored
      because they are in package runtime.
      
      another step to enforcing package boundaries.
      
      R=r
      DELTA=732  (114 added, 93 deleted, 525 changed)
      OCL=35811
      CL=35824
      22a5c78f
  7. 12 Oct, 2009 1 commit
    • Russ Cox's avatar
      stack overflow debugging and fix. · add89dd1
      Russ Cox authored
        * in 6l, -K already meant check for stack underflow.
          add -KK to mean double-check stack overflows
          even in nosplit functions.
      
        * comment out print locks; they deadlock too easily
           but are still useful to put back for special occasions.
      
        * let runcgo assembly switch to scheduler stack
          without involving scheduler directly.  because runcgo
          gets called from matchmg, it is too hard to keep it
          from being called on other stacks.
      
      R=r
      DELTA=94  (65 added, 18 deleted, 11 changed)
      OCL=35591
      CL=35604
      add89dd1
  8. 09 Oct, 2009 1 commit
  9. 03 Oct, 2009 1 commit
    • Russ Cox's avatar
      8c, 8l dynamic loading support. · 133a158b
      Russ Cox authored
      better mach binaries.
      cgo working on darwin+linux amd64+386.
      eliminated context switches - pi is 30x faster.
      add libcgo to build.
      
      on snow leopard:
        - non-cgo binaries work; all tests pass.
        - cgo binaries work on amd64 but not 386.
      
      R=r
      DELTA=2031  (1316 added, 626 deleted, 89 changed)
      OCL=35264
      CL=35304
      133a158b
  10. 18 Sep, 2009 1 commit
    • Austin Clements's avatar
      Rudimentary command shell for Ogle. Hack to prevent linker · ad9c6f77
      Austin Clements authored
      from inlining newprocreadylocked.  Fix type bridge's handling
      of basic types.  Include interpreter's Thread in bridged
      native function calls.
      
      ; load . "6.out"
      Started 6.out
      ; BpSet("main·merge")
      ; ContWait()
      breakpoint at 0x400800
      =>   400800 main·merge /home/austin/src-go1/usr/austin/ptrace/test/sort.go:19
      ; bt
      =>   400800 main·merge /home/austin/src-go1/usr/austin/ptrace/test/sort.go:19
           400b6a main·mergeSort+0x1be /home/austin/src-go1/usr/austin/ptrace/test/sort.go:34
           448313 goexit /home/austin/src-go1/src/pkg/runtime/proc.c:133
      ; main.merge.a
      {1}
      
      ; load . "pid:25753"
      Attached to 25753
      ; bt
      =>   479ddf syscall·Syscall+0x24 /home/austin/src-go1/src/pkg/syscall/asm_linux_amd64.s:24
           47c011 syscall·Read+0x5d /home/austin/src-go1/src/pkg/syscall/zsyscall_linux_amd64.go:368
           4119e5 os·*File·Read+0x5f /home/austin/src-go1/src/pkg/os/file.go:122
           427bf3 bufio·*Reader·fill+0x116 /home/austin/src-go1/src/pkg/bufio/bufio.go:105
           428361 bufio·*Reader·ReadSlice+0x195 /home/austin/src-go1/src/pkg/bufio/bufio.go:244
           40204a ogle·Main+0x94 /home/austin/src-go1/usr/austin/ogle/cmd.go:226
           40080f main·main+0xf /home/austin/src-go1/usr/austin/ogle/main.go:6
           41c4b8 mainstart+0xf /home/austin/src-go1/src/pkg/runtime/amd64/asm.s:55
           41531f goexit /home/austin/src-go1/src/pkg/runtime/proc.c:133
      
      R=rsc
      APPROVED=rsc
      DELTA=433  (420 added, 2 deleted, 11 changed)
      OCL=34410
      CL=34782
      ad9c6f77
  11. 01 Sep, 2009 1 commit
  12. 26 Aug, 2009 1 commit
    • Russ Cox's avatar
      recycle G structs · 2aea4a06
      Russ Cox authored
      R=r
      DELTA=1  (1 added, 0 deleted, 0 changed)
      OCL=33887
      CL=33904
      2aea4a06
  13. 06 Aug, 2009 1 commit
  14. 22 Jul, 2009 1 commit
    • Russ Cox's avatar
      runtime: fix init scheduling bug. · 052a66ba
      Russ Cox authored
      if there is a goroutine waiting to run
      and the init goroutine enters a system call,
      entersyscall was trying to kick off a new
      scheduler for the other goroutine, causing
      a panic (new goroutines can't run until main.main).
      
      R=r
      DELTA=32  (32 added, 0 deleted, 0 changed)
      OCL=31982
      CL=31982
      052a66ba
  15. 14 Jul, 2009 1 commit
    • Russ Cox's avatar
      add LockOSThread and UnlockOSThread to · 218c3930
      Russ Cox authored
      runtime package for use by debugger,
      which needs to make sure that all ptrace calls
      about a given pid come from the same thread.
      
      R=r
      DELTA=175  (90 added, 63 deleted, 22 changed)
      OCL=31546
      CL=31558
      218c3930
  16. 09 Jul, 2009 1 commit
    • Russ Cox's avatar
      reflection for functions · bba278a4
      Russ Cox authored
      add channel send type check (thanks austin).
      fix type mismatch message.
      
      R=r
      DELTA=241  (225 added, 5 deleted, 11 changed)
      OCL=31370
      CL=31375
      bba278a4
  17. 17 Jun, 2009 1 commit
    • Russ Cox's avatar
      runtime: stack growth adjustments, cleanup · 7343e03c
      Russ Cox authored
      	* keep coherent SP/PC in gobuf
      	  (i.e., SP that would be in use at that PC)
      	* gogocall replaces setspgoto,
      	  should work better in presence of link registers
      	* delete unused system calls
      
      only amd64; 386 is now broken
      
      R=r
      DELTA=548  (183 added, 183 deleted, 182 changed)
      OCL=30381
      CL=30442
      7343e03c
  18. 16 Jun, 2009 1 commit
  19. 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
  20. 07 Jun, 2009 1 commit
  21. 03 Jun, 2009 1 commit
    • Russ Cox's avatar
      32-bit fixes in lessstack. · aa3222d8
      Russ Cox authored
      avoid tight coupling between deferreturn and jmpdefer.
      before, jmpdefer knew the exact frame size of deferreturn
      in order to pop it off the stack.  now, deferreturn passes
      jmpdefer a pointer to the frame above it explicitly.
      that avoids a magic constant and should be less fragile.
      
      R=r
      DELTA=32  (6 added, 3 deleted, 23 changed)
      OCL=29801
      CL=29804
      aa3222d8
  22. 27 May, 2009 1 commit
  23. 08 May, 2009 1 commit
  24. 13 Apr, 2009 1 commit
  25. 02 Apr, 2009 1 commit
  26. 01 Apr, 2009 1 commit
    • Russ Cox's avatar
      fix runtime stack overflow bug that gri ran into: · 95100344
      Russ Cox authored
      160 - 75 was just barely not enough for deferproc + morestack.
      
      added enum names and bumped to 256 - 128.
      added explanation.
      
      changed a few mal() (garbage-collected) to
      malloc()/free() (manually collected).
      
      R=ken
      OCL=26981
      CL=26981
      95100344
  27. 30 Mar, 2009 1 commit
  28. 28 Jan, 2009 1 commit
    • Russ Cox's avatar
      Use explicit allspan list instead of · 9f726c2c
      Russ Cox authored
      trying to find all the places where
      spans might be recorded.
      
      Free can cascade into complicated
      span manipulations that move them
      from list to list; the old code had the
      possibility of accidentally processing
      a span twice or jumping to a different
      list, causing an infinite loop.
      
      R=r
      DELTA=70  (28 added, 25 deleted, 17 changed)
      OCL=23704
      CL=23710
      9f726c2c
  29. 27 Jan, 2009 4 commits
  30. 16 Jan, 2009 1 commit
  31. 19 Dec, 2008 1 commit
    • Russ Cox's avatar
      malloc bug fixes. · da0a7d7b
      Russ Cox authored
      use malloc by default.
      free stacks.
      
      R=r
      DELTA=424  (333 added, 29 deleted, 62 changed)
      OCL=21553
      CL=21584
      da0a7d7b
  32. 18 Dec, 2008 1 commit
  33. 09 Dec, 2008 1 commit
  34. 05 Dec, 2008 1 commit
    • Russ Cox's avatar
      add support for ref counts to memory allocator. · 3f8aa662
      Russ Cox authored
      mark and sweep, stop the world garbage collector
      (intermediate step in the way to ref counting).
      can run pretty with an explicit gc after each file.
      
      R=r
      DELTA=502  (346 added, 143 deleted, 13 changed)
      OCL=20630
      CL=20635
      3f8aa662
  35. 04 Dec, 2008 1 commit
  36. 26 Nov, 2008 1 commit
    • Russ Cox's avatar
      change meaning of $GOMAXPROCS to number of cpus to use, · efc86a74
      Russ Cox authored
      not number of threads.  can still starve all the other threads,
      but only by looping, not by waiting in a system call.
      
      fix darwin syscall.Syscall6 bug.
      
      fix chanclient bug.
      
      delete $GOMAXPROCS from network tests.
      
      add stripped down printf, sys.printhex to runtime.
      
      R=r
      DELTA=355  (217 added, 36 deleted, 102 changed)
      OCL=20017
      CL=20019
      efc86a74
  37. 26 Sep, 2008 1 commit
    • Russ Cox's avatar
      go/acid/go · 72154b04
      Russ Cox authored
      R=r
      DELTA=99  (95 added, 1 deleted, 3 changed)
      OCL=15983
      CL=15992
      72154b04