The two basic aspects of this problem are checking memory corruption and tracing block allocation and release.
两个基本角度是检查内存越界和跟踪内存块分配和释放。
Sixty years into the computer age, we still aren't checking basic things like the success of opening a file or whether memory allocation succeeds.
计算机的诞生已进入了六十个年头,我们仍旧没有检查基本的东西,如成功打开一个文件及内存分配是否成功。
You could consider these "thread-local" copies of variables to be similar to a cache, helping the thread avoid checking main memory each time it needs to access the variable's value.
您可以将变量的这些“线程局部”副本看作是与缓存类似,在每次线程需要访问变量的值时帮助它避免检查主存储器。
应用推荐