Back to Graal

Web Image Off-Heap Allocator (wimalloc)

web-image/src/com.oracle.svm.webimage.tools/resources/debug/offheap.html

1.0.0699 B
Original Source

Web Image Off-Heap Allocator (wimalloc)

This page is used to simulate various malloc workloads, and to render the resulting state of the wimalloc allocator.

Load memory state from a file (the file can be dumped e.g. by a failing memory-allocator test):

Simulator (enter code and press run)

// Please pick other examples from the list below. // Or directly write a program that uses malloc and free.
Load a predefined scenario:Run

Summary

| Size (B): | | | Pages (#): | | | Segments (#): | | | Right sentinel size (B): | | | Segment occupancy (%): | | | Occupancy (%): | | | Internal fragmentation (%): | | | External fragmentation (%): | |

Heap Visualization (scroll or drag)