[squeak-dev] Re: push object onto stack
beepeng86 at yahoo.com
Wed Apr 21 06:10:32 UTC 2010
Hi, thank you so much for your help.
>From example, most(probably all) of them use #popRemappableOop and
#pushRemappableOop in a single method(function).
"remap methodContext in case GC happens during allocation"
self pushRemappableOop: methodContext.
newContext := self instantiateContext: (self splObj:
ClassBlockContext) sizeInBytes: contextSize.
methodContext := self popRemappableOop.
Is it possible to use them in two function? i.e. one push and the other pop.
Is it possible that other method pop the object that I just pushed? It
sounds impossible if every method, do their push and pop before return. But
while I'm debugging, I actually saw my object on remappableOop being remove,
What change objects on remappable-stack?
View this message in context: http://n4.nabble.com/push-object-onto-stack-tp2016917p2018421.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev