This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Why Does "java_global_trees" Exist?
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 15 Jun 2004 14:25:16 +0530
- Subject: Re: Why Does "java_global_trees" Exist?
- References: <cac1qs$8s3$1@sea.gmane.org> <40CE0E7F.4080203@redhat.com>
On Mon, 14 Jun 2004 16:45:51 -0400, Bryce McKinlay <mckinlay@redhat.com> wrote:
[...]
> Yeah, this is a leftover from earlier incarnations of GCC's garbage
> collector. These days we can use GTY markers to easily register roots,
> so the java_global_trees stuff could be removed. I've found it annoying
> in the past too, so I vote to get rid of it.
Actually *everyone* (but Ada/Fortran) seems to have "global_trees"
structures - I've found "global_trees", "c_global_trees",
"cp_global_trees" and "objc_global_trees", apart from
"java_global_trees".
Maybe it's better this way to reduce the roots set
exposed to the GCC garbage collector.
~shrug~
Ranjit.