[1182] in java-interest
Re: Q on Garbage Collection
daemon@ATHENA.MIT.EDU (Chris Warth)
Fri Aug 25 15:24:04 1995
Date: Fri, 25 Aug 1995 09:24:32 -0700
From: csw@scndprsn.Eng.Sun.COM (Chris Warth)
To: rbk@ibeam.jf.intel.com
Cc: java-interest@java.Eng.Sun.COM
> Since not all
> values on the stack are object references (i.e., there can be int, float,
> long, etc values on the stack), how does the implementation know what are
> object references and what aren't? Is it just conservative and treats
> anything on the stack that looks like an object reference as a reference?
>
Yup, the current garbage collector in our implementaion is
conservative; if it looks like a pointer, and it points within the
right range of memory, it is treated as a pointer.
This isn't ideal but it sure is easy to implement.
-csw
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com