This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: WIN-31: boehm-gc don't do SEH in GCC
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Adam Megacz <patches at lists dot megacz dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Thu, 7 Mar 2002 19:45:28 -0500 (EST)
- Subject: Re: WIN-31: boehm-gc don't do SEH in GCC
On 7 Mar 2002, Adam Megacz wrote:
> "Boehm, Hans" <hans_boehm@hp.com> writes:
> > In particular, I think this is a reliability issue for the GC code. The
> > collector uses VirtualQuery to identify locations that it should scan for
> > statically allocated pointer variables.
>
> Hrm, are there any such pointers in libgcj?
Sure. In the class structures and static fields, for instance. Also the
c++ areas of libgcj have a number of static roots.
> Could we disable this section of code when boehm-gc is being used for gcj?
Perhaps the safest workaround is to just disable dynamic loading (which
doesn't yet work on win32 libgcj anyway). Find the beginning and ending
data addresses on startup, and don't call VirtualQuery during collections.
Jeff