This is the mail archive of the java-patches@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]

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


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