This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Why Does "java_global_trees" Exist?
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 11 Jun 2004 16:02:08 +0530
- Subject: Why Does "java_global_trees" Exist?
Hi,
What purpose does the use of a single large
"java_global_trees" array serve vis-a-vis letting
the individual elements be freestanding global
variables?
Many a time have I been smitten/flummoxed by GDB
proclaiming a supposedly global variable to be non-existent
only to discover it being a macro aliasing one of the
elements of "java_global_trees".
Wild guess: is it to have a convenient root for
the GCC garbage collection mechanism?
Thanks,
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/