Miklos,

I found HEAPCHK in z/OS Language Environment Customization

HEAPCHK Derivation: HEAP storage CHecKing  Use HEAPCHK to run additional
heap check tests.
If HEAPCHK(ON) is used with STORAGE(,heap_free_value), the free areas of the
heap will also be checked.
If HEAPCHK(ON) is specified, this will result in a performance degradation
due to the additional error checking that is performed.
A U4042 abend dump will be generated when an error is detected, but no
CEEDUMP will be produced.



And for HEAPZONE I found in z/OS Language Environment Programming Reference

Derivation: HEAP check ZONES

The HEAPZONES runtime option is used to turn on overlay toleration and
checking for user heaps. When activated, the runtime option affects any
obtained storage that can be controlled by the HEAP or HEAP64 runtime
options. HEAPZONES also affects storage obtained from a heap pool.   A heap
check zone is an additional piece of storage that is appended to an
allocated element during a storage request. The size of the check zone
depends on the size31 and size64 suboptions of HEAPZONES. The check zone can
be examined for overlays when the heap element is freed.


So it looks that HEAPCHK has a performance overhead and validates heaps of
(I think) all HEAPS and the other a runtime option to provide overly
toleration and check for USER heaps.

Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Miklos Szigetvari
> Sent: Monday, December 02, 2013 2:17 AM
> To: [email protected]
> Subject: HEAPCHECK and HEAPZONE difference in zOS 2.1
> 
> If someone can explain the difference between HEAPCHECK and HEAPZONE
> (new in z/OS 2.1)
> 
> --
> Kind regards, / Mit freundlichen Grüßen
> Miklos Szigetvari
> 
> Research&  Development
> ISIS Papyrus Europe AG
> Alter Wienerweg 12, A-2344 Maria Enzersdorf, Austria
> T: +43(2236) 27551 333, F: +43(2236)21081
> E-mail: [email protected]
> Info: [email protected] Hotline: +43-2236-27551-111 Visit our brand
new
> extended Website at www.isis-papyrus.com      

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to