[1166] in java-interest
Q on Garbage Collection
daemon@ATHENA.MIT.EDU (Bob Beck)
Fri Aug 25 06:57:54 1995
To: java-interest@java.sun.com
From: rbk@ibeam.jf.intel.com (Bob Beck)
Date: Tue, 22 Aug 95 17:54:13 Pacific Daylight Time--100
As I was reading the virtual machine spec, I was wondering how the system
knows how to properly garbage collect memory when its possible (and likely)
to have object references stored in thread stack variables. 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?
Thanks!
--
Bob Beck rbk@ibeam.intel.com CompuServe: 71674,106
Intel Corporation (503)264-8856 AOL: RDBeck
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com