This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Heap fragmentation (Was: Debugging "Leaks" With Boehm-GC)
We set GC_free_space_divisor before calling JvRunMain. I don't know
what happens if you call it after the runtime is already started.
But where is it configured? I will look for it in the morrow - if it's
a matter of searching for "GC_set_free_space_divisor" in the libjava
folder, I'm on it ;-)
We basically do:
gcj -save-temps --main=????? .....
Then take the .i file created to call your main and modify it so that
you set GC_free_space_divisor before the call to JvRunMain.
Now, what am I to do with that .i file after hacking it (assuming it's
just a matter of adding "GC_set_free_space_divisor(X);")?
Should I gcj with "-v" and do the exact same operations?
Thanks so far,
Martin