struct rpmalloc_global_statistics_t {
size_t mapped;
size_t mapped_peak;
size_t cached;
size_t huge_alloc;
size_t huge_alloc_peak;
size_t mapped_total;
size_t unmapped_total;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | RPmallocGlobalStatistics.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CACHED
The struct member offsets. |
| public static final int | HUGE_ALLOC
The struct member offsets. |
| public static final int | HUGE_ALLOC_PEAK
The struct member offsets. |
| public static final int | MAPPED
The struct member offsets. |
| public static final int | MAPPED_PEAK
The struct member offsets. |
| public static final int | MAPPED_TOTAL
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | UNMAPPED_TOTAL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | RPmallocGlobalStatistics(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public static RPmallocGlobalStatistics | |
| public static RPmallocGlobalStatistics. | calloc(int
the buffer capacity capacity)Returns a new |
| public static RPmallocGlobalStatistics | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RPmallocGlobalStatistics. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static RPmallocGlobalStatistics | |
| public static RPmallocGlobalStatistics | |
| public static RPmallocGlobalStatistics. | |
| public static RPmallocGlobalStatistics. | |
| protected RPmallocGlobalStatistics | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static RPmallocGlobalStatistics | |
| public static RPmallocGlobalStatistics | create(long address)
Returns a new |
| public static RPmallocGlobalStatistics. | create(int
the buffer capacity capacity)Returns a new |
| public static RPmallocGlobalStatistics. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static RPmallocGlobalStatistics | |
| public static RPmallocGlobalStatistics. | |
| public long | huge_alloc()
Current amount of memory allocated in huge allocations, i.e larger than |
| public long | huge_alloc_peak()
Peak amount of memory allocated in huge allocations, i.e larger than |
| public static RPmallocGlobalStatistics | |
| public static RPmallocGlobalStatistics. | malloc(int
the buffer capacity capacity)Returns a new |
| public static RPmallocGlobalStatistics | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RPmallocGlobalStatistics. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static RPmallocGlobalStatistics | |
| public static RPmallocGlobalStatistics | |
| public static RPmallocGlobalStatistics. | |
| public static RPmallocGlobalStatistics. | |
| public long | mapped()
Current amount of virtual memory mapped, all of which might not have been committed (only if |
| public long | mapped_peak()
Peak amount of virtual memory mapped, all of which might not have been committed (only if |
| public long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public int | |
| public long |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CACHED | back to summary |
|---|---|
| public static final int CACHED The struct member offsets. | |
| HUGE_ALLOC | back to summary |
|---|---|
| public static final int HUGE_ALLOC The struct member offsets. | |
| HUGE_ALLOC_PEAK | back to summary |
|---|---|
| public static final int HUGE_ALLOC_PEAK The struct member offsets. | |
| MAPPED | back to summary |
|---|---|
| public static final int MAPPED The struct member offsets. | |
| MAPPED_PEAK | back to summary |
|---|---|
| public static final int MAPPED_PEAK The struct member offsets. | |
| MAPPED_TOTAL | back to summary |
|---|---|
| public static final int MAPPED_TOTAL The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| UNMAPPED_TOTAL | back to summary |
|---|---|
| public static final int UNMAPPED_TOTAL The struct member offsets. | |
| RPmallocGlobalStatistics | back to summary |
|---|---|
| protected RPmallocGlobalStatistics(long address, ByteBuffer container) | |
| RPmallocGlobalStatistics | back to summary |
|---|---|
| public RPmallocGlobalStatistics(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| cached | back to summary |
|---|---|
| public long cached() Current amount of memory in global caches for small and medium sizes (<32KiB)
| |
| calloc | back to summary |
|---|---|
| public static RPmallocGlobalStatistics calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static RPmallocGlobalStatistics calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static RPmallocGlobalStatistics callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RPmallocGlobalStatistics callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected RPmallocGlobalStatistics create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static RPmallocGlobalStatistics create() Returns a new | |
| create | back to summary |
|---|---|
| public static RPmallocGlobalStatistics create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Returns a new
| |
| create | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Create a
| |
| createSafe | back to summary |
|---|---|
| public static RPmallocGlobalStatistics createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Like
| |
| huge_alloc | back to summary |
|---|---|
| public long huge_alloc() Current amount of memory allocated in huge allocations, i.e larger than
| |
| huge_alloc_peak | back to summary |
|---|---|
| public long huge_alloc_peak() Peak amount of memory allocated in huge allocations, i.e larger than
| |
| malloc | back to summary |
|---|---|
| public static RPmallocGlobalStatistics malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static RPmallocGlobalStatistics malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static RPmallocGlobalStatistics mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RPmallocGlobalStatistics mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RPmallocGlobalStatistics. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mapped | back to summary |
|---|---|
| public long mapped() Current amount of virtual memory mapped, all of which might not have been committed (only if
| |
| mapped_peak | back to summary |
|---|---|
| public long mapped_peak() Peak amount of virtual memory mapped, all of which might not have been committed (only if
| |
| mapped_total | back to summary |
|---|---|
| public long mapped_total() Total amount of memory mapped since initialization (only if
| |
| ncached | back to summary |
|---|---|
| public static long ncached(long struct) Unsafe version of | |
| nhuge_alloc | back to summary |
|---|---|
| public static long nhuge_alloc(long struct) Unsafe version of | |
| nhuge_alloc_peak | back to summary |
|---|---|
| public static long nhuge_alloc_peak(long struct) Unsafe version of | |
| nmapped | back to summary |
|---|---|
| public static long nmapped(long struct) Unsafe version of | |
| nmapped_peak | back to summary |
|---|---|
| public static long nmapped_peak(long struct) Unsafe version of | |
| nmapped_total | back to summary |
|---|---|
| public static long nmapped_total(long struct) Unsafe version of | |
| nunmapped_total | back to summary |
|---|---|
| public static long nunmapped_total(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| unmapped_total | back to summary |
|---|---|
| public long unmapped_total() Total amount of memory unmapped since initialization (only if
| |
RPmallocGlobalStatistics structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final RPmallocGlobalStatistics |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| protected RPmallocGlobalStatistics | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| protected RPmallocGlobalStatistics. | |
| public long |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final RPmallocGlobalStatistics ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| cached | back to summary |
|---|---|
public long cached()
| |
| getElementFactory | back to summary |
|---|---|
| protected RPmallocGlobalStatistics getElementFactory() Implements abstract org.
| |
| huge_alloc | back to summary |
|---|---|
public long huge_alloc()
| |
| huge_alloc_peak | back to summary |
|---|---|
public long huge_alloc_peak()
| |
| mapped | back to summary |
|---|---|
public long mapped()
| |
| mapped_peak | back to summary |
|---|---|
public long mapped_peak()
| |
| mapped_total | back to summary |
|---|---|
public long mapped_total()
| |
| self | back to summary |
|---|---|
| protected RPmallocGlobalStatistics. Implements abstract org.
| |
| unmapped_total | back to summary |
|---|---|
public long unmapped_total()
| |