|
From: <sv...@va...> - 2008-09-22 09:17:28
|
Author: sewardj
Date: 2008-09-22 10:17:03 +0100 (Mon, 22 Sep 2008)
New Revision: 8634
Log:
Move error management stuff out of hg_main.c into hg_errors.[ch].
Because the type XError references a lot of other types, this was
quite complex and involved moving some other code around too.
Also:
* fix algorithmic stupidity to do with reverse lookups in the
map_threads table. No need to do reverse lookups (Thread* to
ThreadId lookups) by visiting all table entries. Instead just store
the associated ThreadId in each Thread structure. Hence the
functions map_threads_{maybe_}reverse_lookup_SLOW is no longer slow.
* reduce the amount of debug printing caused by VTS and EvM
garbage collectin, in libhb_core.c.
Modified:
branches/YARD/helgrind/hg_basics.c
branches/YARD/helgrind/hg_basics.h
branches/YARD/helgrind/hg_errors.c
branches/YARD/helgrind/hg_errors.h
branches/YARD/helgrind/hg_lock_n_thread.c
branches/YARD/helgrind/hg_lock_n_thread.h
branches/YARD/helgrind/hg_main.c
branches/YARD/helgrind/hg_wordset.c
branches/YARD/helgrind/libhb_core.c
[... diff too large to include ...]
|