Garbage collection problem

Adam King aking@dreammechanics.com
Tue Aug 20 19:42:00 GMT 2002


On Tue, Aug 20, 2002 at 04:51:53PM -0700, Adam Megacz wrote:
> 
> Jeff Sturm <jsturm@one-point.com> writes:
> > I have no idea if incremental GC is usable on win32, though.
> 
> Yep, it works.
> 

Are you sure?  When I do a 'set GC_ENABLE_INCREMENTAL=1' I get
a "... has caused an error in KERNEL32.DLL" on startup.  I then 
tried using 'GC_enable_incremental()' in my native code, but it
gives the same result.  I also noticed that in your xwt code you
have the following comment in Win32.cc:

   // turn on incremental GC now that we have a user-visible interface
   // [[this is causing segfaults; enable it later...]]
   // GC_enable_incremental();

I would like to use the incremental garbage collector, but I don't 
think it's working under Win32 - unless you have a patch you'd like 
to share? :)

	Adam



More information about the Java mailing list