[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] OOP Table size
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] OOP Table size |
Date: |
Sat, 29 Dec 2012 14:47:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Il 29/12/2012 11:53, Holger Hans Peter Freyther ha scritto:
> Dear Paolo,
>
> oop.h
> #define MAX_OOP_TABLE_SIZE (sizeof(struct oop_s) << 18)
>
> oop.c
> for (i = MAX_OOP_TABLE_SIZE; i && !oop_heap; i >>= 1)
> oop_heap = _gst_heap_create (address, i * sizeof (struct oop_s));
>
>
> this code attempts to create address space for the OOP table. So should
> table size hold the number of OOPs that should be usable in the image or
> should it be the size in bytes?
Good catch! It should be the number of OOPs.
Paolo