Skip to content
  • kevin.lewis@oracle.com's avatar
    e5d9961b
    WL#7628 - Remove innodb_use_sys_malloc & innodb_additional_mem_pool_size · e5d9961b
    kevin.lewis@oracle.com authored
    system variables in 5.7
    
    This effort involves deleting and changing the following code, code files and
    test files.
    
    * Global setting innodb_use_sys_malloc
    * Test suite/sys_vars/innodb_use_sys_malloc_basic
    * Global setting innodb_additional_mem_pool_size
    * Test suite/sys_vars/innodb_additional_mem_pool_size_basic
    * The common memory pool and all the code that implements memory pools
    in mem0pool.cc, mem0pool.h, mem0pool.ic
    * Rename test innodb_use_sys_malloc to innodb-large-prefix and delete the
    portion of this test that relates to the innodb_use_sys_malloc setting.
    * Change ut_malloc() so that it always attempts the malloc() 60 times
    in 60 seconds. Previously, it would try only one malloc() with
    innodb_use_sys_malloc=ON. If OFF, it used to do the 60 tries in
    60 seconds using the common memory pool.
    * Change ut_realloc so that it always attempts the realloc() 60 times
    in 60 seconds. Previously, it would try only one realloc() with
    innodb_use_sys_malloc=ON. If OFF, it used call ut_malloc() for a new
    buffer and ut_free() for the old buffer.
    * Deleted metadata_pool_size from information_schema.innodb_metrics
    * Deleted all UNIV_MEM_DEBUG code.
    * Greatly simplified mem_heap_validate and mem_heap_check().  All other
    parts of mem0dbg are removed
    * Removed all code under MEM_PERIODIC_CHECK and all calls to
    mem_analyze_corruption().
    * Changed some conditional calls to ib_logf(FATAL,...) to just an assert
    so that the system will stop all threads sooner after a memory corruption.
    
    Approved in rb#4512 by Marko
    e5d9961b
    WL#7628 - Remove innodb_use_sys_malloc & innodb_additional_mem_pool_size
    kevin.lewis@oracle.com authored
    system variables in 5.7
    
    This effort involves deleting and changing the following code, code files and
    test files.
    
    * Global setting innodb_use_sys_malloc
    * Test suite/sys_vars/innodb_use_sys_malloc_basic
    * Global setting innodb_additional_mem_pool_size
    * Test suite/sys_vars/innodb_additional_mem_pool_size_basic
    * The common memory pool and all the code that implements memory pools
    in mem0pool.cc, mem0pool.h, mem0pool.ic
    * Rename test innodb_use_sys_malloc to innodb-large-prefix and delete the
    portion of this test that relates to the innodb_use_sys_malloc setting.
    * Change ut_malloc() so that it always attempts the malloc() 60 times
    in 60 seconds. Previously, it would try only one malloc() with
    innodb_use_sys_malloc=ON. If OFF, it used to do the 60 tries in
    60 seconds using the common memory pool.
    * Change ut_realloc so that it always attempts the realloc() 60 times
    in 60 seconds. Previously, it would try only one realloc() with
    innodb_use_sys_malloc=ON. If OFF, it used call ut_malloc() for a new
    buffer and ut_free() for the old buffer.
    * Deleted metadata_pool_size from information_schema.innodb_metrics
    * Deleted all UNIV_MEM_DEBUG code.
    * Greatly simplified mem_heap_validate and mem_heap_check().  All other
    parts of mem0dbg are removed
    * Removed all code under MEM_PERIODIC_CHECK and all calls to
    mem_analyze_corruption().
    * Changed some conditional calls to ib_logf(FATAL,...) to just an assert
    so that the system will stop all threads sooner after a memory corruption.
    
    Approved in rb#4512 by Marko
Loading