package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

GetGOGC returns the current GCPercent.
MaxGCPercent get the max cost of memory.
MinGCPercent get the min cost of memory.
SetDefaultGOGC is to set the default GOGC value.
SetMaxGCPercent sets the max cost of memory.
SetMinGCPercent sets the max cost of memory.
Tuning sets the threshold of heap which will be respect by gogc tuner.
WaitMemoryLimitTunerExitInTest is used to wait memory limit tuner exit in test.

# Variables

EnableGOGCTuner is to control whether enable the GOGC tuner.
GlobalMemoryLimitTuner only allow one memory limit tuner in one process.