* src/mm/gc-boehm.cpp: Likewise.
export ACLOCAL AUTOCONF AUTOHEADER AUTOMAKE LIBTOOLIZE
export ACLOCAL AUTOCONF AUTOHEADER AUTOMAKE LIBTOOLIZE
-${AUTORECONF} --force --install
+${AUTORECONF} --force --install --no-recursive
#endif
#include "boehm-gc/include/gc.h"
#endif
#include "boehm-gc/include/gc.h"
+#include "boehm-gc/include/javaxfc.h"
#include "mm/gc.hpp"
#include "mm/memory.hpp"
#include "mm/gc.hpp"
#include "mm/memory.hpp"
/* global variables ***********************************************************/
static bool in_gc_out_of_memory = false; /* is GC out of memory? */
/* global variables ***********************************************************/
static bool in_gc_out_of_memory = false; /* is GC out of memory? */
+static size_t gc_max_heap_size = 0;
/* prototype static functions *************************************************/
/* prototype static functions *************************************************/
/* set the maximal heap size */
GC_set_max_heap_size(heapmaxsize);
/* set the maximal heap size */
GC_set_max_heap_size(heapmaxsize);
+ gc_max_heap_size = heapmaxsize;
/* set the initial heap size */
/* set the initial heap size */
int64_t gc_get_max_heap_size(void)
{
int64_t gc_get_max_heap_size(void)
{
- return GC_get_max_heap_size();
+ return gc_max_heap_size;