Skip to content
Snippets Groups Projects
  1. Aug 02, 2013
  2. Jul 24, 2013
  3. Jul 23, 2013
  4. Jul 16, 2013
  5. Jun 18, 2013
    • Ian Lance Taylor's avatar
      compiler, runtime: Use function descriptors. · fdbc38a6
      Ian Lance Taylor authored
      This changes the representation of a Go value of function type
      from being a pointer to function code (like a C function
      pointer) to being a pointer to a struct.  The first field of
      the struct points to the function code.  The remaining fields,
      if any, are the addresses of variables referenced in enclosing
      functions.  For each call to a function, the address of the
      function descriptor is passed as the last argument.
      
      This lets us avoid generating trampolines, and removes the use
      of writable/executable sections of the heap.
      
      From-SVN: r200181
      fdbc38a6
  6. Mar 01, 2013
  7. Feb 28, 2013
  8. Feb 20, 2013
  9. Feb 15, 2013
    • Ian Lance Taylor's avatar
      runtime: Do not reserve huge amount of swap on 32 bit architectures. · 3ab98a47
      Ian Lance Taylor authored
      The mmap() call which reserves the arena should have MAP_NORESERVE
      flag as in typical cases this memory will never be (fully) needed.
      This matters in environments which do not do Linux style memory
      overcommit, such as OpenIndiana/OpenSolaris/Solaris.
      
      The MAP_NORESERVE flag does not exist on all operating systems
      (for example FreeBSD). Therefore we define it to zero value in
      case it does not exist.
      
      Fixes issue 21.
      
      From-SVN: r196088
      3ab98a47
  10. Feb 11, 2013
  11. Feb 10, 2013
  12. Feb 09, 2013
  13. Feb 08, 2013
  14. Feb 07, 2013
  15. Feb 06, 2013
  16. Feb 05, 2013
  17. Feb 02, 2013
  18. Feb 01, 2013
  19. Jan 31, 2013
  20. Jan 30, 2013
Loading