-
- Downloads
Suppress valgrind warning about fUniqueID unitialized memory used.
This is done by taking the check of fUniqueID and the assignment to fBuits into a separate function and by including this function in the header *but* marking it as "noinline" to prevent its inlining and preserve a way to suppress the valgrind warning. Introducing the macro R__NEVER_INLINE which expands to inline __attribute__((noinline)) The performance degradation is less than 10% for a case doing only creation and destruction of TObjects.
Showing
- cmake/modules/RootConfiguration.cmake 9 additions, 0 deletionscmake/modules/RootConfiguration.cmake
- config/RConfigure.in 1 addition, 0 deletionsconfig/RConfigure.in
- core/base/inc/ROOT/RConfig.hxx 12 additions, 0 deletionscore/base/inc/ROOT/RConfig.hxx
- core/base/inc/TObject.h 2 additions, 5 deletionscore/base/inc/TObject.h
- core/base/inc/TStorage.h 25 additions, 2 deletionscore/base/inc/TStorage.h
- etc/valgrind-root.supp 7 additions, 0 deletionsetc/valgrind-root.supp
Loading
Please register or sign in to comment