1. 23 Mar, 2016 6 commits
    • Victor Stinner's avatar
      Cleanup hashtable.h · 1d423797
      Victor Stinner authored
      Issue #26588:
      
      * Pass the hash table rather than the key size to hash and compare functions
      * _Py_HASHTABLE_READ_KEY() and _Py_HASHTABLE_ENTRY_READ_KEY() macros now expect
        the hash table as the first parameter, rather than the key size
      * tracemalloc_get_traces_fill(): use _Py_HASHTABLE_ENTRY_READ_DATA() rather
        than pointer dereference
      * Remove the _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro
      * Move "PKEY" and "PDATA" macros inside hashtable.c
      1d423797
    • Victor Stinner's avatar
      Issue #26588: · 09c01ddc
      Victor Stinner authored
      * Optimize tracemalloc_add_trace(): modify hashtable entry data (trace) if the
        memory block is already tracked, rather than trying to remove the old trace
        and then add a new trace.
      * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro
      09c01ddc
    • Victor Stinner's avatar
      Issue #26588: · 78786676
      Victor Stinner authored
      * _Py_HASHTABLE_ENTRY_DATA: change type from "char *" to "const void *"
      * Add _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro
      * Rename _Py_HASHTABLE_ENTRY_WRITE_DATA() macro to
        _Py_HASHTABLE_ENTRY_WRITE_PDATA()
      * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro
      78786676
    • Victor Stinner's avatar
      Issue #26588: Optimize tracemalloc_realloc() · 39920a74
      Victor Stinner authored
      No need to remove the old trace if the memory block didn't move.
      39920a74
    • Victor Stinner's avatar
      Makefile: change default value of TESTTIMEOUT from 1 hour to 15 min · becec8b9
      Victor Stinner authored
      The whole test suite takes 6 minutes on my laptop. It takes less than 30
      minutes on most buildbots. The TESTTIMEOUT is the timeout for a single test
      file.
      becec8b9
    • Victor Stinner's avatar
      regrtest: add timeout to main process when using -jN · f59ac68b
      Victor Stinner authored
      libregrtest: add a watchdog to run_tests_multiprocess() using
      faulthandler.dump_traceback_later().
      f59ac68b
  2. 22 Mar, 2016 28 commits
  3. 21 Mar, 2016 4 commits
  4. 20 Mar, 2016 2 commits