Changeset: b4a5c0127593 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b4a5c0127593 Modified Files: gdk/gdk_system.h Branch: Nov2019 Log Message:
Don't keep lock statistics even in debug builds. Removing a lock from the list of locks that is kept for statistics gathering is too expensive an operation if there are many locks. diffs (16 lines): diff --git a/gdk/gdk_system.h b/gdk/gdk_system.h --- a/gdk/gdk_system.h +++ b/gdk/gdk_system.h @@ -159,10 +159,8 @@ gdk_export int MT_join_thread(MT_Id t); */ #include "matomic.h" -/* in non-debug builds, we don't keep lock statistics */ -#ifndef NDEBUG -#define LOCK_STATS -#endif +/* define this to keep lock statistics (can be expensive) */ +/* #define LOCK_STATS */ /* define this if you want to use pthread (or Windows) locks instead * of atomic instructions for locking (latching) */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list