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

v8源码学习笔记 #4

Open
zhuzhuaicoding opened this issue Apr 6, 2017 · 0 comments
Open

v8源码学习笔记 #4

zhuzhuaicoding opened this issue Apr 6, 2017 · 0 comments

Comments

@zhuzhuaicoding
Copy link
Owner

zhuzhuaicoding commented Apr 6, 2017

Zone类

描述:小块内存的快速分配。块不能单独释放,支持一种释放所有块的快速操作。Zone用来存放临时数据结构,例如AST树,这个数据结构会在编译完成后释放掉内存。
Note:没有必要初始化Zone,初次分配内存时,内存分段会被分配器请求。
Note:非线程安全,不可用来多线程编码。

Members

void* New(size_t size);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant