diff options
author | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-22 21:24:35 +0000 |
---|---|---|
committer | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-22 21:24:35 +0000 |
commit | b75d2fbe3d53866e0a1f0ce9d5139967de95b85e (patch) | |
tree | 634bdaceaa625e1babde6a5219d484ff24fad2a6 /libjava/include | |
parent | 2c194506f431a3957b3515673c4d586e4f663ce7 (diff) | |
download | gcc-b75d2fbe3d53866e0a1f0ce9d5139967de95b85e.tar.gz |
* include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
* boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129560 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/jvm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index 8e60bb573c2..84847548f01 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -412,6 +412,10 @@ void _Jv_SetInitialHeapSize (const char *arg); _Jv_GCSetMaximumHeapSize. */ void _Jv_SetMaximumHeapSize (const char *arg); +/* External interface for setting the GC_free_space_divisor. Calls + GC_set_free_space_divisor and returns the old value. */ +int _Jv_SetGCFreeSpaceDivisor (int div); + /* Free the method cache, if one was allocated. This is only called during thread deregistration. */ void _Jv_FreeMethodCache (); |