From 61c9bbb782d2542c93e5675e113177e6253f4dd7 Mon Sep 17 00:00:00 2001 From: David Daney Date: Mon, 22 Oct 2007 21:24:35 +0000 Subject: jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function. * include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function. * boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it. From-SVN: r129560 --- libjava/include/jvm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libjava/include') diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index 8e60bb5..8484754 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 (); -- cgit v1.1