Ever since the GC's internal symbols quit being exported by libgcj.so, it has been impossible to change the GC_free_space_divisor. We need to be able to tune this value in restricted memory environments to prevent OutOfMemoryErrors. This patch adds a couple of methods to the new gnu.gcj.util.GCInfo class that allow the GC_free_space_divisor parameter to be tuned. Tested on x86_64-pc-linux-gnu. OK to commit? 2007-10-18 David Daney * gnu/gcj/util/GCInfo.java (checkPermission): Renamed to ... (checkDumpPermission): ... this and updated references throughout. (checkParametersPermission, getGCFreeSpaceDivisor, setGCFreeSpaceDivisor): New methods. (getGCFreeSpaceDivisor0, setGCFreeSpaceDivisor0): Declare. * gnu/gcj/util/natGCInfo.cc: Move #includes outside of ifdef block. (getGCFreeSpaceDivisor0, setGCFreeSpaceDivisor0): New methods. * gnu/gcj/util/GCInfo.h: Regenerate. * classpath/lib/gnu/gcj/util/GCInfo.class: Ditto.