Stack reification and JIT interaction question

bryce at bryce at
Sun Jan 21 21:07:28 UTC 2007

I'm not sure what the value of a context cache is for a modern
designed high performance VM. Any VM that does dynamic inlining
like Self may be able to reduce the number of method calls to the
point were a context cache isn't worthwhile. After all all common
calls should be inlined.

However if you could inline the contexts as they were faulted into the
context cache then build uninlined contexts as they are faulted out it
may be possible to have very cheap de-optimization. If inlined
contexts are full objects then to remove the compiled code requires
allInstances which does a full memory scan.


More information about the Squeak-dev mailing list