From 1abdce9f382edd044142fe2a9b2a2dd02ff85225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Sat, 14 Aug 2010 12:04:51 +0200 Subject: erts: Remove broken elib_malloc elib_malloc is an alternate memory allocator that is no longer possible to build. --- erts/doc/src/erlang.xml | 53 +++++-------------------------------------------- 1 file changed, 5 insertions(+), 48 deletions(-) (limited to 'erts/doc') diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 54a0a80536..add4e961d5 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -5364,7 +5364,7 @@ true

Returns {Allocator, Version, Features, Settings}.

Types:

- Allocator = undefined | elib_malloc | glibc + Allocator = undefined | glibc Version = [int()] Features = [atom()] Settings = [{Subsystem, [{Parameter, Value}]}] @@ -5379,7 +5379,7 @@ true implementation used. If Allocator equals undefined, the malloc() implementation used could not be identified. Currently - elib_malloc and glibc can be identified.

+ glibc can be identified.

Version is a list of integers (but not a @@ -5606,52 +5606,9 @@ true elib_malloc -

If the emulator uses the elib_malloc memory - allocator, a list of two-element tuples containing status - information is returned; otherwise, false is - returned. The list currently contains the following - two-element tuples (all sizes are presented in bytes):

- - {heap_size, Size} - -

Where Size is the current heap size.

-
- {max_alloced_size, Size} - -

Where Size is the maximum amount of memory - allocated on the heap since the emulator started.

-
- {alloced_size, Size} - -

Where Size is the current amount of memory - allocated on the heap.

-
- {free_size, Size} - -

Where Size is the current amount of free - memory on the heap.

-
- {no_alloced_blocks, No} - -

Where No is the current number of allocated - blocks on the heap.

-
- {no_free_blocks, No} - -

Where No is the current number of free blocks - on the heap.

-
- {smallest_alloced_block, Size} - -

Where Size is the size of the smallest - allocated block on the heap.

-
- {largest_free_block, Size} - -

Where Size is the size of the largest free - block on the heap.

-
-
+

This option will be removed in a future release. + The return value will always be false since + the elib_malloc allocator has been removed.

fullsweep_after -- cgit v1.2.3