Skip to content

memprofiler/list.go sizeOfQuicklist2计算的小小问题 #71

@OceanFot

Description

@OceanFot

94行的 nodeOverhead := 3*sizeOfPointer() + sizeOfLong() + 4
最后的 +4 好像应该与操作系统位数相匹配?32位系统时是 +4 ,如果是64位系统应为 +8 (int类型所占内存)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions