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

咨询内存分配器初始化问题 #17

Open
ichiro999 opened this issue Feb 6, 2020 · 1 comment
Open

咨询内存分配器初始化问题 #17

ichiro999 opened this issue Feb 6, 2020 · 1 comment
Labels
question Further information is requested

Comments

@ichiro999
Copy link

我看内存初始化章接,将内存划分为三个部分: span (512 MB) │ bitmap (32 GB) │ arena (512 GB),但是对于64位的虚拟地址空间来不应该有512G那么大吧,所以想请问下这里的512M、32GB和512GB是指内存空间吗?

@cch123
Copy link
Owner

cch123 commented Feb 11, 2020

@ichiro999 ,64 位地址空间实际有用的 48 位,理论上虚拟地址上限能有 48 TB 呢

不过我写这个的时候也是 1.10 了,后来这里有改动,arena 区域不是连续的了

@cch123 cch123 added the question Further information is requested label Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants