Go to the source code of this file.
Macros | |
#define | MEM_FIELD_HEADER_SIZE 0 |
#define | MEM_SPACE_NEEDED(N) ut_calc_align((N), UNIV_MEM_ALIGNMENT) |
Functions | |
UNIV_INTERN void | mem_analyze_corruption (void *ptr) |
UNIV_INTERN void | mem_print_info (void) |
UNIV_INTERN void | mem_print_new_info (void) |
The memory management: the debug code. This is not a compilation module, but is included in mem0mem.* !
Created 6/9/1994 Heikki Tuuri
Definition in file mem0dbg.h.
UNIV_INTERN void mem_analyze_corruption | ( | void * | ptr | ) |
Tries to find neigboring memory allocation blocks and dumps to stderr the neighborhood of a given pointer. in: pointer to place of possible corruption
Tries to find neigboring memory allocation blocks and dumps to stderr the neighborhood of a given pointer.
ptr | in: pointer to place of possible corruption |
Definition at line 818 of file mem0dbg.cc.
References mem_analyze_corruption(), and ut_print_buf().
Referenced by check_trx_exists(), mem_analyze_corruption(), mem_area_alloc(), mem_area_free(), que_graph_free_recursive(), que_thr_move_to_run_state_for_mysql(), que_thr_stop_for_mysql_no_error(), row_insert_for_mysql(), row_prebuilt_free(), row_search_for_mysql(), row_update_for_mysql(), row_update_prebuilt_trx(), trx_undo_set_state_at_finish(), and trx_undo_set_state_at_prepare().
UNIV_INTERN void mem_print_info | ( | void | ) |
Prints information of dynamic memory usage and currently allocated memory heaps or buffers. Can only be used in the debug version.
Definition at line 1031 of file mem0dbg.cc.
References mem_print_info().
Referenced by mem_print_info().
UNIV_INTERN void mem_print_new_info | ( | void | ) |
Prints information of dynamic memory usage and currently allocated memory heaps or buffers since the last ..._print_info or..._print_new_info.
Definition at line 1042 of file mem0dbg.cc.
References mem_print_new_info().
Referenced by mem_print_new_info().