Skip to content

Print/Accept memory in human readable format #829

Open
@k-sareen

Description

@k-sareen

Debug builds print memory like so:

[INFO  mmtk::memory_manager] Initialized MMTk with NoGC (FixedHeapSize(16803151872))

I think it'd be nicer if the memory was printed in a human readable format. So something like

[INFO  mmtk::memory_manager] Initialized MMTk with NoGC (FixedHeapSize(16 G))

A related issue is we have to provide memory in bytes usually (for example if setting the nursery size). It would be more convenient if we also accepted human readable format for those options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: FeatureP-lowPriority: Low. A low-priority issue won't be scheduled and assigned. Any help is welcome.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions