govarney Beginner
Joined: 23 Apr 2007 Posts: 1 Topics: 1
|
Posted: Mon Apr 23, 2007 8:57 pm Post subject: Has any one used GIMAPI ? |
|
|
I'm interested to find out if anyone has used the API for SMP/E, GIMAPI. I personally find it a memory hogg making it almost impossible to use in TSO, given that we are limited to 32MB above the line. _________________ Maz Alf |
|
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Apr 24, 2007 9:32 am Post subject: |
|
|
govarney,
what is your version of SMP/E ? The GIMAPI service obtains storage a page at a time. Once it fills up a page, it acquires a new page. Prior to SMP/E 3.1, the GIMAPI would chain the new page to the end of the existing page(s). The head of this chain would never change. When it came time to free the storage, GIMAPI, would read through this chain of pages and free one page at a time.
GIMAPI was modified in SMP/E 3.1 to insert new pages at the beginning of the chain to save time in accessing the newest storage. However, the pointer to the head of the chain is not
modified to reflect this insertion. When it comes time to free the storage, the pointer to the head of the chain is still pointing to the original page which is really the last page in the chain. Therefore, only this one page is freed.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|