For example, when removing a node from a list, you have to remember to free the memory for the node structure.
例如,当从一个列表中删除某个节点时,必须记住释放这个节点结构的内存。
Special system calls, or requests to the UNIX kernel, allocate and free the memory and set permissions; common read and write operations put and get data from the region.
用特殊的系统调用(即对UNIX内核的请求)分配和释放内存并设置权限;通过一般的读写操作读写内存段中的数据。
This allows the garbage collector to free the memory.
这使得垃圾回收器能够释放内存。
应用推荐