Skip to content

MMTk Options #58

Closed
Closed
@qinsoon

Description

@qinsoon

In GitLab by @qinsoon on Jan 30, 2020, 14:03

Currently MMTk is initialized with a set of default options. Options are mutable and the VM can use process(name, value) to send options to MMTk.

According to our discussion, these are clear:

  • For command line arguments (such as -X:gc), MMTk expects the VM to send them as a string at initialization. And those are immutable.
  • MMTk also allows mutable options. VM can call certain APIs to set some options during execution, these options may change MMTk's behaviours.

For mutable options, as we are supposed to have multiple readers but one writer to the options, we could consider using lock-free data structures, such as https://github.com/jonhoo/rust-evmap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-interfaceArea: Interface/APIC-enhancementCategory: EnhancementP-highPriority: High. A high-priority issue should be fixed as soon as possible.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions