Skip to content

File heaplayers.h

FileList > cubrid > src > heaplayers > heaplayers.h

Go to the source code of this file

The master Heap Layers include file. More...

  • #include <assert.h>
  • #include "utility/all.h"
  • #include "heaps/all.h"
  • #include "locks/all.h"
  • #include "threads/all.h"
  • #include "wrappers/all.h"

Namespaces

Type Name
namespace HL

Macros

Type Name
define ALLOCATION_STATS 0
define HL_EXECUTABLE_HEAP 1
define INLINE [**inline**](broker__monitor_8c.md#function-timeout)
define MALLOC_FUNCTION [**\_\_attribute\_\_**](broker__monitor_8c.md#function-timeout)(([**malloc**](memory__cwrapper_8h.md#define-malloc)))
define NO_INLINE [**\_\_attribute\_\_**](broker__monitor_8c.md#function-timeout) (([**noinline**](broker__monitor_8c.md#function-timeout)))
define RESTRICT [**\_\_restrict\_\_**](broker__monitor_8c.md#function-timeout)

Detailed Description

Heap Layers is an extensible memory allocator infrastructure. For more information, read the PLDI 2001 paper "Composing High-Performance Memory Allocators", by Emery D. Berger, Benjamin G. Zorn, and Kathryn S. McKinley. (http://citeseer.ist.psu.edu/berger01composing.html)

Macro Definition Documentation

define ALLOCATION_STATS

#define ALLOCATION_STATS `0`

Defining ALLOCATION_STATS below as 1 enables tracking of allocation statistics in a variety of layers. You then must link in definitions of the extern variables used therein; stats.cpp contains these definitions.

This should be undefined for all but experimental use.


define HL_EXECUTABLE_HEAP

#define HL_EXECUTABLE_HEAP `1`

define INLINE

#define INLINE `inline`

define MALLOC_FUNCTION

#define MALLOC_FUNCTION `__attribute__ (( malloc ))`

define NO_INLINE

#define NO_INLINE `__attribute__ (( noinline ))`

define RESTRICT

#define RESTRICT `__restrict__`


The documentation for this class was generated from the following file cubrid/src/heaplayers/heaplayers.h