-
Notifications
You must be signed in to change notification settings - Fork 3
Virtual Machine message processing
bruno.buzzi edited this page Oct 22, 2018
·
7 revisions
Each UML Class has a collection of implementations to perform some behavior. Each Implementation is a/an (Abstract Syntax) Tree of Nodes. Each time a source of a implementation is compiled a Tree of Nodes is created for the Implementation.
When a message is sent to anObject then the Virtual Machine:
- Fetch the Implementation to execute.
- Apply/Execute the Implementation of the receiver object [anObject].
2.1. An Execution Snapshot is created as a Context and all nodes of the implementation are processed.
2.2. Some nodes (messages sent) will take this process to step 1) again.