Since the reference is part of the data structure, it has good cache locality.
由于引用是数据结构的一部分,所以它有一个好的缓存位置。
A way to do this is to choose objects in the cache such that they exhibit good locality of reference.
具体方法就是选择缓存中的对象,从而使其展示良好的引用局部性。
Because the cost of a page fault is high, it is desirable that a garbage collector properly manage locality of reference.
因为页面错误的成本很高,所以垃圾收集器正确管理引用的区域性(locality)是很必要的。
应用推荐