Java Memory Management on HP-UX
page 42/8/2005
(c) Copyright Hewlett Packard Company, 2005
Type of Executables on HP-UX
• SHARE_MAGIC is the default on 11.0. SHARE_MAGIC is also
called DEMAND_MAGIC. With SHARE_MAGIC, quadrant 1 is
used for program text, quadrant 2 is used for program data,
and quadrants 3 and 4 are for shared items.
• EXEC_MAGIC allows a greater process data space by allowing
text and data to share quadrant 1. Quadrant 2 is still solely
used for data, and quadrants 3 and 4 are also the same as with
SHARE_MAGIC executables. EXEC_MAGIC applications are
created by linking the application with the -N option.
• SHMEM_MAGIC makes 2.75 GB of shared memory available to
an application. With SHMEM_MAGIC all of the text and data is
in quadrant 1 freeing up quadrant 2 for shared items. The
SHMEM_MAGIC processes on the system will share quadrant 2
for shared memory, as well as sharing quadrants 3 and 4 with
other processes on the system.