Skip to content

Allow unoptimized builds for bindings #353

@qinsoon

Description

@qinsoon

Our current bindings (OpenJDK/JikesRVM/V8(?)) have optimizations to allow best performance (including embedding MMTk's mutator struct into their thread local storage, and genearting allocation fastpath with JIT). However, we should still allow the bindings to have an unoptimized build so a binding should be able to run any new GC from mmtk-core without any change to the binding (or minimal changes that anyone can do without deep knowledge about the binding). This would be helpful to people who implement new GCs in mmtk-core and could use a bindng to test its correctness.

The unoptimized build should not depend on the layout of any mmtk-core struct (e.g. they can save opaque pointers to mmkt-core structs). The unoptimized build should not generate allocation fastpath.

This issue tracks this issue in general and any changes required for mmtk-core. We should have separate issues for each binding in the binding repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-interfaceArea: Interface/APIC-umbrellaCategory: Umbrella IssueP-normalPriority: Normal.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions