pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
115 stars 71 forks source link

experimental: Inline caches for the interpreter #858

Open iglosiggio opened 1 month ago

iglosiggio commented 1 month ago

Leaves "free slots" after method selectors. This is a simple, backwards-compatible change.

The design of bytecode ICs is not yet written on stone. The current VM implementation stores the (selector, classTag, compiledMethod) tuple inlined on the literals array.