⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Improvement: LaunchManager shall log real names for process groups and process group state, instead of hashes #57

@TimoSteuerwaldETAS

Description

@TimoSteuerwaldETAS

The IdentifierHash class is used to identify process group (states) in a memory efficient way, as an object gets also transferred between processes (e.g. via shared memory). This is why it stores only a hash value of the string which is given at construction time. However it confusing to print these hash values in log messages.

Proposal: One possible solution would be a central lookup table where the string which was used during construction time can be retrieved.
Limitations: An IdentifierHash which was constructed in process A but logged in process B will still only log its hash value, of course. From our point of view this is acceptable. As IdentifierHashs are constructed in LaunchManager, inside LaunchManager it will always output its string value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions