[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gen gc
From: |
Rob Browning |
Subject: |
Re: gen gc |
Date: |
Thu, 18 Jul 2002 22:59:05 -0500 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) |
Han-Wen Nienhuys <address@hidden> writes:
> Anyways, the goops code only uses the address for printing, so it
> would safe to return the address. I suggest that the documentation be
> changed to
>
> "Return the address of OBJ as an integer. Note that this
> address may change between runs due to garbage collection."
Alternately if we really need a unique value, and if it's only used
for printing -- couldn't we just use a good old fashioned integer
counter? What's the point of printing the address of the object if
it's only the transient address of the object, unless perhaps the
value's only intended for debugging?
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD
- gen gc, Han-Wen, 2002/07/17
- Re: gen gc, Marius Vollmer, 2002/07/17
- Re: gen gc, Han-Wen, 2002/07/17
- Re: gen gc, Miroslav Silovic, 2002/07/18
- Re: gen gc, Han-Wen Nienhuys, 2002/07/18
- Re: gen gc,
Rob Browning <=
- Re: gen gc, Han-Wen, 2002/07/19
- Re: gen gc, Rob Browning, 2002/07/19
- Re: gen gc, Tom Lord, 2002/07/19
- Re: gen gc, Han-Wen Nienhuys, 2002/07/19
- Re: gen gc, Rob Browning, 2002/07/19
- Re: gen gc, Han-Wen, 2002/07/19
- Re: gen gc, Rob Browning, 2002/07/19
- Re: gen gc, Marius Vollmer, 2002/07/19
- Re: gen gc, Dirk Herrmann, 2002/07/18
- Re: gen gc, Han-Wen Nienhuys, 2002/07/18