This is an example for the options for the alternate LE heap manager for
memory checks (CEL4MCHK):
//CEEOPTS DD *
ALL31(ON),
STACK(3M,1M,ANY,KEEP),
HEAP(4K,4K,ANY,KEEP),
STORAGE(NONE,NONE,NONE,0),
RPTSTG(ON),RPTOPTS(ON),
ENVAR("_CEE_HEAP_MANAGER=CEL4MCHK",
"_CEE_MEMCHECK_TRACE=ON",
"_CEE_MEMTRACE_DEPTH=32",
"_CEE_MEMCHECK_DEPTH=32",
"_CEE_MEMCHECK_OVERLAY=OFF",
"_CEE_MEMCHECK_OVERLAYLEN=80")
Maybe it is possible (don't know) to write a heap manager of your own
and to specify its name here,
or: to specify the name of a modified version of the Standard LE heap
manager (with other subpools)
or: a modified version of CEL4MCHK with traces disabled
or ???
In any case, I personally would not change the behaviour of standard LE
in the first place.
HTH, kind regards
Bernd
Am 14.07.2023 um 01:55 schrieb Bernd Oppolzer:
If there is no explicit LE option to override the standard subpools
(which are 1 and 2, AFAIK),
then I would try to use the LE option which allows to have an
alternate heap handler
and use a modified version of the standard LE handler. I don't recall
the names of the runtime options,
but I used them in the past to have LE heap checks enables; that's an
alternate LE heap handler
which writes messages about allocated and not freed storage areas ...
I used that when looking
for memory leaks with certain C++ applications.
If you don't know what I'm talking about, I can search my archives and
maybe find the names
of these options and some sort of presentation (IBM's or my own) on
the topic.
But: that's only for heap storage, not for stack. Why do you want to
have the STACK allocated
in another subpool? Normally stack allocation is not a problem; heap
is where the problems are.
Look here: http://bernd-oppolzer.de/stackheap.pdf
HTH, kind regards
Bernd
Am 14.07.2023 um 00:11 schrieb Binyamin Dissen:
I would like to have LE use SP=132 KEY=9 for its STACK and HEAP.
I obviously could screw with CEEINT, but I don't know if that will
affect
other storage requests.
Is there some explicit getmain routine that I can play with?
--
Binyamin Dissen <bdis...@dissensoftware.com>
http://www.dissensoftware.com
Director, Dissen Software, Bar & Grill - Israel
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN