This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
GC_enable_incremental()
- From: DHollenbeck <dick at softplc dot com>
- To: java at gcc dot gnu dot org
- Date: Tue, 07 Sep 2004 15:24:18 -0500
- Subject: GC_enable_incremental()
My embedded environment: 3.4.1, pentium 800Mhz, Linux kernel 2.6.7, 32
mb RAM.
The GC when operating without "incremental", is stopping a thread of
mine, one that is elavated to real time policy status, for 57 msecs
every 5 seconds or so. This is silly putty, not tolerable or useable
for an embedded environment.
Then, trying to go incremental GC, when I call GC_enable_incremental()
the process terminates with a
Killed
message. Same is true if I simply set the environment variable
GC_ENABLE_INCREMENTAL=1 before starting the process and do not call the
function GC_enable_incremental().
I've written a realtime incremental garbage collector myself in 1996,
but I have no clue on where or how I could hook it in to replace the one
in place. The documentation for that does jump out at me. Nor do I
have the time to do it, really. Write barriers, etc.
I was hoping to use libgcj, but it seems it may not be up to the task.
Please help:
** Has anyone used GC_ENABLE_INCREMENTAL on x86 linux kernel 2.6.x?
** How else can I get rid of the pause to my realtime thread? Source
filenames please.
Thank you kindly folks,
Dick Hollenbeck