![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
A chunk of buffers. More...
Public Member Functions | |
| size_t | mem_size () const | 
| Get the size of 'mem' in bytes.  More... | |
| bool | madvise_dump () | 
| Advices the OS that this chunk should not be dumped to a core file.  More... | |
| bool | madvise_dont_dump () | 
| Advices the OS that this chunk should be dumped to a core file.  More... | |
| bool | contains (const buf_block_t *ptr) const | 
| Checks if this chunk contains a given block without dereferencing it.  More... | |
Public Attributes | |
| ulint | size | 
| size of frames[] and blocks[]  More... | |
| unsigned char * | mem | 
| pointer to the memory area which was allocated for the frames  More... | |
| buf_block_t * | blocks | 
| array of buffer control blocks  More... | |
A chunk of buffers.
The buffer pool is allocated in chunks.
      
  | 
  inline | 
Checks if this chunk contains a given block without dereferencing it.
| [in] | ptr | A pointer which we want to check | 
| bool buf_chunk_t::madvise_dont_dump | ( | ) | 
Advices the OS that this chunk should be dumped to a core file.
Emits a warning to the log if could not succeed.
| bool buf_chunk_t::madvise_dump | ( | ) | 
Advices the OS that this chunk should not be dumped to a core file.
Emits a warning to the log if could not succeed.
      
  | 
  inline | 
Get the size of 'mem' in bytes.
| buf_block_t* buf_chunk_t::blocks | 
array of buffer control blocks
| unsigned char* buf_chunk_t::mem | 
pointer to the memory area which was allocated for the frames
| ulint buf_chunk_t::size | 
size of frames[] and blocks[]