GC_enable_incremental()

DHollenbeck dick@softplc.com
Tue Sep 7 20:24:00 GMT 2004


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /