[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a C usage I can't understand & "class variables"
From: |
Ralf Stephan |
Subject: |
Re: a C usage I can't understand & "class variables" |
Date: |
Fri, 26 May 2000 12:52:33 +0200 |
Jan Burse:
> [fields] are not used anymore if they are not reached by an
> active processes anymore.
No, it's the ref count but you say this in the following then, too.
> To force reclaim of storage you can
> agressively set fields to null. So you can do:
>
> a.p=null
>
> and as well:
>
> a.pp=null
>
> In case that there is no a.ppp pointing to the object that was formerly
> behind a.p and a.pp the object gets automatically freeed. Otherwise
> it stays. Probably a reason that Java has GC are security considerations.
> You could spy out another application by falsely freeing storage and
> peeking into it, or you can crash another and/or your own application
> this way by poking into it.
You can't do such things under Unix. That's why there are no application-
only virii.
ralf
--
http://ME.IN-berlin.de/~rws/
==================================
Swarm-Modelling is for discussion of Simulation and Modelling techniques
esp. using Swarm. For list administration needs (esp. [un]subscribing),
please send a message to <address@hidden> with "help" in the
body of the message.
==================================