Sounds like someone ought to fix that!  ;)

________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Allan Kielstra <kiels...@ca.ibm.com>
Sent: Friday, August 11, 2017 5:30 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: MSGIEW2678S Module contains one or more deferred classes

Yes a C DLL does have all static variables allocated and initialized when a DLL 
is loaded.  This is usually fine.  However suppose you had a few thousand 
independent programs that you linked into a DLL simply for packaging purposes.  
And suppose that each program had a lot of static storage associated with it.  
Now imagine that the DLL gets loaded repeatedly and in each case only one of 
the programs it contains is actually executed.  That case could have 
performance problems in the C world because the static data for all of the few 
thousand independent programs is created and initialized for each load of the 
DLL (and in each case you're only running one of the programs.)

That sort of packaging could create a performance issue for C programs.

----------------------------------------------------------------------
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

Reply via email to