)]}'
{
  "commit": "e82c588969ab1542d7fb32f675e190897e28b64d",
  "tree": "002463e9d6b278927f6dd599f226dc711b228865",
  "parents": [
    "8d13d83aba4a103959b127cbb5666e28667ac338"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Mon May 12 15:09:43 2025 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Fri May 23 11:12:53 2025 -0400"
  },
  "message": "gdb/dwarf: allocate dwo_unit with new\n\nThe following patch reduces the duration where the dwo_lock mutex is\ntaken.  One operation that is not thread safe is the allocation on\ndwo_units on the per_bfd obstack:\n\n    dwo_unit *dwo_unit \u003d OBSTACK_ZALLOC (\u0026per_bfd-\u003eobstack, struct dwo_unit);\n\nWe could take the lock around this allocation, but I think it\u0027s just\neasier to avoid the problem by having the dwo_unit objects allocated\nwith \"new\".\n\nChange-Id: Ida04f905cb7941a8826e6078ed25dbcf57674090\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fe06840ec3b57614d4f6ae6cab096dac645781c9",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "3d4e4a02375f25009c6698bac5c08b5b60b1e769",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    }
  ]
}
