summaryrefslogtreecommitdiff
path: root/libjava/boehm.cc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-05 17:34:32 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-05 17:34:32 +0000
commitd9063b94f52a133dbd53b4a4d01f804914cf7d60 (patch)
treeebda040f8b4643c80197d33f51c2bab7223b79b8 /libjava/boehm.cc
parent4e011229e1560aceaaff8a6ca78e8631eb99ecf9 (diff)
downloadgcc-d9063b94f52a133dbd53b4a4d01f804914cf7d60.tar.gz
1999-11-05 Jeff Sturm <jsturm@sigma6.com>
* boehm.cc (_Jv_GCSetInitialHeapSize): Swapped size & current. * prims.cc (parse_heap_size): Use end, not spec. Use 1024 multipler for `k'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30418 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r--libjava/boehm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc
index 33800edb410..2ecad740d93 100644
--- a/libjava/boehm.cc
+++ b/libjava/boehm.cc
@@ -375,7 +375,7 @@ _Jv_GCSetInitialHeapSize (size_t size)
{
size_t current = GC_get_heap_size ();
if (size > current)
- GC_expand_hp (current - size);
+ GC_expand_hp (size - current);
}
void