In addition to the memory options, the ALL31 and HEAPPOOLS runtime
options can improve the performance of your application. ALL31 indicates
that a Language Environment application has a 31-bit addressing mode.
The Language Environment default is ALL31(ON). If your
application has some AMODE 24 components, you will need to run the
application with ALL31(OFF), but will lose some performance.
The
HEAPPOOLS runtime option might
increase storage use, but will improve the performance of the application.
This option is effective if:
- The application is multi-threaded
- The application often uses:
- new()
- delete()
- new[]()
- delete[]()
- malloc()
- __malloc31()
- realloc()
- calloc()
- free()
Note: If you are not sure which settings
of ALL31 and HEAPPOOLS are in effect, use the
Language Environment runtime option RPTOPTS. RPTOPTS(ON) generates
a report of runtime options and their settings that are in use by
the currently-running application. Because this option diminishes
the performance of the application, it should be used for diagnosis
purposes only.