comp.lang.ada
 help / color / mirror / Atom feed
From: Uri Shina <shina@iol.co.il>
Subject: Re: Q: Ada.Unchecked_Deallocation
Date: 1996/07/27
Date: 1996-07-27T00:00:00+00:00	[thread overview]
Message-ID: <31FA6083.3486@iol.co.il> (raw)
In-Reply-To: dewar.837357751@schonberg


Robert Dewar wrote:
> 
> Andy said
> 
> "The DEC VMS implementation of Unchecked Allocation and Deallocation is
> not totally unchecked.  It is a generic function that will fail at
> compile time if the size of the memory to be created/removed is not
> the same as the instantiated function.  I assumed other
> implementations would do the same.  Are there totally unchecked
> implementations out there?"

I have noticed that memory allocated during a VMS AST wasn't deallocated
by Unchecked Deallocation.

> That's a bit confused, and cannot be right as written since often
> UD is used to free items whose size is only known at execution time.
> What exactly do you mean here? (or can someone else who knows the
> details on this check eludicated). Since Free is a type checked
> function like any other in Ada, what could be violated here? One
> can imagine a check at the malloc/free type level, but I don't
> see that any high level Ada check makes any sense at all.

That's confused and more, it makes servers to exhaust it quata.




  reply	other threads:[~1996-07-27  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-11  0:00 Q: Ada.Unchecked_Deallocation David Morton
1996-07-12  0:00 ` Jon S Anthony
1996-07-12  0:00 ` Ron Thompson
1996-07-13  0:00   ` Robert Dewar
1996-07-21  0:00     ` Robert A Duff
1996-07-12  0:00 ` Robert Dewar
1996-07-16  0:00   ` Robert I. Eachus
1996-07-21  0:00     ` Robert A Duff
1996-07-20  0:00   ` Laurent Guerby
1996-07-20  0:00     ` Robert Dewar
1996-07-21  0:00     ` Robert A Duff
1996-07-21  0:00   ` Robert A Duff
1996-07-21  0:00   ` Laurent Guerby
1996-07-14  0:00 ` Andy Askey
1996-07-14  0:00   ` Robert Dewar
1996-07-27  0:00     ` Uri Shina [this message]
1996-07-30  0:00       ` Theodore E. Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox