From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!iuvax!purdue!gatech!hubcap!wtwolfe From: wtwolfe@hubcap.UUCP (Bill Wolfe) Newsgroups: comp.lang.ada Subject: A belated discovery re: garbage collection Message-ID: <4086@hubcap.UUCP> Date: 14 Jan 89 18:50:32 GMT Organization: Clemson University, Clemson, SC List-Id: While reading my trusty ANSI/MIL-STD-1815A, I belatedly discovered section 4.8 (10), which states: The pragma CONTROLLED informs the implementation that automatic storage reclamation must not be performed for objects designated by values of the access type, except upon leaving the innermost block statement, subprogram body, or task body that encloses the access type declaration, or after leaving the main program. pragma CONTROLLED (access_type_simple_name); My apologies to anyone who might have concluded from my articles that such a capability did not currently exist. In the interests of standardization, and in light of Barry's statements regarding the advanced nature of recent GC algorithms (which I shall accept at face value despite his failure to send me a description of these algorithms, or at least references to the literature), I do support the idea that GC should be mandatory in Ada, in conjunction with the continued presence of the pragma CONTROLLED. There remains a need to completely define the storage consumption associated with parameter passing, and to provide integration of ADT deallocation procedures into the block exit mechanism. Bill Wolfe wtwolfe@hubcap.clemson.edu