)]}'
{
  "commit": "e1f6a52ca259c3b9bb4b90022f77ee5c99743ccc",
  "tree": "d07845861e22e42cc11c0fad6124134e28657296",
  "parents": [
    "fee9737afc7ef58153e8849640dac4f4d97feacc"
  ],
  "author": {
    "name": "Christian Biesinger",
    "email": "cbiesinger@google.com",
    "time": "Sat Sep 28 18:44:43 2019 -0500"
  },
  "committer": {
    "name": "Christian Biesinger",
    "email": "cbiesinger@google.com",
    "time": "Thu Oct 03 13:15:36 2019 -0500"
  },
  "message": "Don\u0027t use the mutex for each symbol_set_names call\n\nThis avoids the lock contention that was seen with tromey\u0027s patch (it\nmoves it to a once- per-thread lock call from a once-per-symbol call).\n\nIt speeds up \"attach to Chrome\u0027s content_shell binary\" from 50 sec -\u003e 30\nsec (32%).\n\nSee https://sourceware.org/ml/gdb-patches/2019-10/msg00087.html for some\nmore speed measurements.\n\ngdb/ChangeLog:\n\n2019-09-28  Christian Biesinger  \u003ccbiesinger@google.com\u003e\n\n\t* minsyms.c (minimal_symbol_reader::install): Only do\n\tdemangling on the background thread; still call\n\tsymbol_set_names on the main thread.\n\t* symtab.c (symbol_find_demangled_name): Make public,\n\tso that minsyms.c can call it.\n\t(symbol_set_names): Remove mutex. Avoid demangle call\n\tif the demangled name is already set.\n\t* symtab.h (symbol_find_demangled_name): Make public.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "84bf2bb61e206df5353f45c7f65a5674557f22f9",
      "old_mode": 33188,
      "old_path": "gdb/minsyms.c",
      "new_id": "95ca9f6c930d3170353ed61d838c4144447c9608",
      "new_mode": 33188,
      "new_path": "gdb/minsyms.c"
    },
    {
      "type": "modify",
      "old_id": "8adcff7cf2b693933d35ff36bbc29c6a6de6bc64",
      "old_mode": 33188,
      "old_path": "gdb/symtab.c",
      "new_id": "47da5cf4e8cb01c275219e920d915fbf059c2c3e",
      "new_mode": 33188,
      "new_path": "gdb/symtab.c"
    },
    {
      "type": "modify",
      "old_id": "c3918a85af7cadad228e17f36d183491e1d33db2",
      "old_mode": 33188,
      "old_path": "gdb/symtab.h",
      "new_id": "17903df92d69447002407969780fe7565a91b306",
      "new_mode": 33188,
      "new_path": "gdb/symtab.h"
    }
  ]
}
