如果的确是上述情况,那么使用更大的缓冲池是最好的解决办法,但是为索引页增加更多的自由空间也有所帮助。
If this is the case, a larger buffer pool is the best solution, but adding more free space to index pages may also help.
与标志阶段类似,将死对象清理回自由内存池的耗费也不能完全预测。
As with the mark phase, the cost of sweeping dead objects back into the free memory pool can't be completely predicted.
对大多数收集器实现而言,分配子系统持有一个自由堆内存池,应用程序通过分配对象使用该池,然后由收集器通过清理来补充该池。
For most collector implementations, the allocation subsystem keeps a pool of free heap memory, consumed by the application through allocating objects and replenished by the collector through sweeping.
应用推荐