|
From: Christoph B. <bar...@or...> - 2007-07-20 08:24:20
|
> > One additional question: Why is eq_ExeContext currently not comparing > > the pointers? I understand that the whole mechanism guarantees that each > > context has a unique pointer. > > The idea is to reduce the number of errors reported. If the same error > occurs with different Execontexts, if the ExeContexts are sufficiently > similar (eg. the top 4 elements are the same) then it gets reported to the > user only once. > > The exact-pointer comparison is done for ExeContexts related to leak > checking if you set --leak-resolution=high. > Ok, here is a version that makes this hopefully correct and uses arena_malloc_fast for allocation and saves additional 100MB of memory. Christoph |