* boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129560
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-10-22 David Daney <ddaney@avtrex.com>
+
+ * include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
+ * boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.
+
2007-10-18 David Daney <ddaney@avtrex.com>
* classpath/lib/gnu/java/locale/LocaleData.class: Regenerate
GC_set_max_heap_size ((GC_word) size);
}
+int
+_Jv_SetGCFreeSpaceDivisor (int div)
+{
+ return (int)GC_set_free_space_divisor ((GC_word)div);
+}
+
void
_Jv_DisableGC (void)
{
_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 ();