This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]