What is the advantage of freeing an entire subpool vs. freeing the
memory by address?

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of (IBM Mainframe Discussion List)
Sent: 18. elokuuta 2008 18:55
To: [email protected]
Subject: Re: A couple of memory/storage questions

 
 
In a message dated 8/18/2008 10:42:40 A.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:
>Storage in a subpool is always in a different page than storage in
another
subpool (for 0-127). You can localize fetches to control block  chains.
Also,
you can share/transfer subpools with/to different  tasks.
 
One more advantage of using different subpools is that you can free up
all  
the storage in any given subpool by only one STORAGE (or FREEMAIN)
macro.   If 
you use different subpools for different purposes, you could free up all
the  
storage used for purpose X by doing one FREEMAIN-type macro, whereas if
you 
used  subpool 0 for all storage, then you would need multiple
FREEMAIN-type 
macros,  each of which frees up only one piece of storage in that
subpool.
 
Bill  Fairchild
Rocket Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to