[squeak-dev] Re: push object onto stack
Bert Freudenberg
bert at freudenbergs.de
Wed Apr 21 09:18:47 UTC 2010
On 21.04.2010, at 08:10, Ang BeePeng wrote:
>
> From example, most(probably all) of them use #popRemappableOop and
> #pushRemappableOop in a single method(function).
Of course. That's how it is designed, to wrap functions that can cause a GC. Push, call "dangerous" function, pop.
> Is it possible to use them in two function? i.e. one push and the other pop.
You should not do this. It's way to easy to unbalance the remap stack otherwise.
> What change objects on remappable-stack?
GC
- Bert -
More information about the Squeak-dev
mailing list
|