Why Does "java_global_trees" Exist?

Ranjit Mathew rmathew@gmail.com
Fri Jun 11 10:34:00 GMT 2004


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/



More information about the Java mailing list