Browse Source
Fixes to get valgrind to work with jemalloc
Fixes to get valgrind to work with jemalloc
- Added MALLOC_LIBRARY variable to hold name of malloc library - Back ported valgrind related fixes from jemalloc 3.4.1 to the included jemalloc 3.3.1 - Renamed bitmap_init() and bitmap_free() to my_bitmap_init() and my_bitmap_free() to avoid clash with jemalloc 3.4.1 - Use option --soname-synonyms=somalloc=NON to valgrind when using jemalloc - Show version related variables in mysqld --help -- Added SHOW_VALUE_IN_HELP marker Increased back_log to 150 as the original value was a bit too small CMakeLists.txt: Added MALLOC_LIBRARY variable to hold name of malloc library cmake/jemalloc.cmake: Added MALLOC_LIBRARY variable to hold name of malloc library config.h.cmake: Added MALLOC_LIBRARY variable to hold name of malloc library extra/jemalloc/ChangeLog: Updates changelog extra/jemalloc/include/jemalloc/internal/arena.h: Backported valgrind fixes from jemalloc 3.4.1 extra/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in: Backported valgrind fixes from jemalloc 3.4.1 extra/jemalloc/include/jemalloc/internal/private_namespace.h: Backported valgrind fixes from jemalloc 3.4.1 extra/jemalloc/include/jemalloc/internal/tcache.h: Backported valgrind fixes from jemalloc 3.4.1 extra/jemalloc/src/arena.c: Backported valgrind fixes from jemalloc 3.4.1 include/my_bitmap.h: Renamed bitmap_init() and bitmap_free() to my_bitmap_init() and my_bitmap_free() to avoid clash with jemalloc 3.4.1 mysql-test/mysql-test-run.pl: Use option --soname-synonyms=somalloc=NON to valgrind when using jemalloc mysql-test/valgrind.supp: Supression of memory leak in OpenSuse 12.3 mysys/my_bitmap.c: Renamed bitmap_init() and bitmap_free() to my_bitmap_init() and my_bitmap_free() sql/ha_ndbcluster_binlog.cc: Renames sql/ha_ndbcluster_cond.h: Renames sql/ha_partition.cc: Renames sql/handler.cc: Renames sql/item_subselect.cc: Renames sql/log_event.cc: Renames sql/log_event_old.cc: Renames sql/mysqld.cc: Renames Show version related variables in mysqld --help sql/opt_range.cc: Renames sql/opt_table_elimination.cc: Renames sql/partition_info.cc: Renames sql/rpl_injector.h: Renames sql/set_var.h: Renames sql/slave.cc: Renames sql/sql_bitmap.h: Renames sql/sql_insert.cc: Renames sql/sql_lex.h: Renames sql/sql_parse.cc: Renames sql/sql_partition.cc: Renames sql/sql_select.cc: Renames sql/sql_show.cc: Renames sql/sql_update.cc: Renames sql/sys_vars.cc: Show version related variables in mysqld --help sql/sys_vars.h: Added SHOW_VALUE_IN_HELP marker for variables that should be shown in --help sql/table.cc: Renames sql/table.h: Removed not used bitmap_init_value storage/connect/ha_connect.cc: Removed compiler warning storage/maria/ma_open.c: Renames unittest/mysys/bitmap-t.c: Renamespull/22/head
44 changed files with 279 additions and 168 deletions
-
1CMakeLists.txt
-
2cmake/jemalloc.cmake
-
1config.h.cmake
-
9extra/jemalloc/ChangeLog
-
66extra/jemalloc/include/jemalloc/internal/arena.h
-
4extra/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in
-
2extra/jemalloc/include/jemalloc/internal/private_namespace.h
-
4extra/jemalloc/include/jemalloc/internal/tcache.h
-
44extra/jemalloc/src/arena.c
-
11include/my_bitmap.h
-
7mysql-test/mysql-test-run.pl
-
3mysql-test/r/mysqld--help.result
-
4mysql-test/t/mysqld--help.test
-
9mysql-test/valgrind.supp
-
10mysys/my_bitmap.c
-
12sql/ha_ndbcluster_binlog.cc
-
12sql/ha_ndbcluster_cond.h
-
28sql/ha_partition.cc
-
4sql/handler.cc
-
16sql/item_subselect.cc
-
30sql/log_event.cc
-
16sql/log_event_old.cc
-
17sql/mysqld.cc
-
16sql/opt_range.cc
-
2sql/opt_table_elimination.cc
-
2sql/partition_info.cc
-
4sql/rpl_injector.h
-
7sql/set_var.h
-
2sql/slave.cc
-
4sql/sql_bitmap.h
-
2sql/sql_insert.cc
-
1sql/sql_lex.h
-
13sql/sql_parse.cc
-
6sql/sql_partition.cc
-
10sql/sql_select.cc
-
2sql/sql_show.cc
-
2sql/sql_update.cc
-
30sql/sys_vars.cc
-
1sql/sys_vars.h
-
14sql/table.cc
-
1sql/table.h
-
2storage/connect/ha_connect.cc
-
4storage/maria/ma_open.c
-
10unittest/mysys/bitmap-t.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue