Skip to content

Simplify ObjectModel, and try to get rid of the StorageAccessors again #375

Open
@smarr

Description

@smarr

In SOM-st/TruffleSOM#47, TruffleSOM uses a "better" approach to initialize the unsafe accesses for the object model.
Instead of needing instances of objects, which have their own virtual methods, we can keep all the logic in one place, and only read the offsets from the StorageAnalyzer.

This might be a benefit for interpreter performance, though, unmeasured, and I don't remember what the impact was for introducing the current design in SOMns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImproves the implementation with something noteworthy

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions