Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[勘误]反馈一个第4章 4.1内存分配的配图问题 #92

Open
67Jason opened this issue Jun 17, 2021 · 1 comment
Open

[勘误]反馈一个第4章 4.1内存分配的配图问题 #92

67Jason opened this issue Jun 17, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@67Jason
Copy link

67Jason commented Jun 17, 2021

问题描述

WechatIMG26
这本书对进阶非常有帮助,谢谢了。
95页关于 Go 程序启动时向系统申请的内存配图,bitmap 的大小是 512GB,我看了挺多资料,包括作者您网上开源的版本,都是根据 bitmap 中1个 byte 大小的内存对应 arena 区域中 4 个指针大小(指针大小为 8B)的内存,所以 bitmap 区域的大小 512G /(4*8B) = 16GB

如何找到这个错误

  • 章节:第四章
  • 页码:95

您认为应该如何?

图片
如果有可能,尽量提供图片。

其他补充信息

想请教一下作者这个 bitmap 分配 512 GB 是怎么计算的呢?谢谢

@67Jason 67Jason added the bug Something isn't working label Jun 17, 2021
@RainbowMango
Copy link
Owner

稍后回复你,最近有点忙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants