Documentation
¶
Overview ¶
package ballast 提供基于"压舱石"(ballast)的GC优化工具 通过预分配长期持有的大块内存,调整Go垃圾回收的触发阈值,减少GC频率 适用于内存使用频繁波动的服务,需根据实际内存需求合理配置
Index ¶
Constants ¶
View Source
const ( KB = 1024 MB = 1024 * KB GB = 1024 * MB )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.