Skip to content

cmd/link: move symtab out of mapped memory #5914

Open
@rsc

Description

@rsc
Nothing in package runtime looks at the Go 'symtab' symbol anymore. Move it into
unmapped memory, so that it is still in the file for debuggers but not mapped while the
program runs.

Low priority, since the size of the file will not be changing, and since the data is
never paged in, the total memory cost is under two pages of memory partially used by
fragmentation, so less than 8 kB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions