Ruby: malloc_params Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
malloc_params Struct Reference

## Data Fields
size_t | magic
size_t | page_size
size_t | granularity
size_t | mmap_threshold
size_t | trim_threshold
flag_t | default_mflags

## Detailed Description

Definition at line 2100 of file dlmalloc.c.

## Field Documentation

## ◆ default_mflags

flag_t malloc_params::default_mflags

Definition at line 2106 of file dlmalloc.c.

## ◆ granularity

size_t malloc_params::granularity

Definition at line 2103 of file dlmalloc.c.

## ◆ magic

size_t malloc_params::magic

Definition at line 2101 of file dlmalloc.c.

## ◆ mmap_threshold

size_t malloc_params::mmap_threshold

Definition at line 2104 of file dlmalloc.c.

## ◆ page_size

size_t malloc_params::page_size

Definition at line 2102 of file dlmalloc.c.

Referenced by dlpvalloc(), and dlvalloc().

## ◆ trim_threshold

size_t malloc_params::trim_threshold

Definition at line 2105 of file dlmalloc.c.

The documentation for this struct was generated from the following file:

- ext/fiddle/libffi-3.2.1/src/dlmalloc.c