Skip to content

Instantly share code, notes, and snippets.

@woky
Last active January 8, 2019 19:13
Show Gist options
  • Save woky/adf3c59adf9d130a40688524e93d3dfe to your computer and use it in GitHub Desktop.
Save woky/adf3c59adf9d130a40688524e93d3dfe to your computer and use it in GitHub Desktop.
# java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version | grep -i heap
bool AggressiveHeap = false {product} {default}
ccstr AllocateHeapAt = {product} {default}
size_t ErgoHeapSizeLimit = 0 {product} {default}
bool FLSVerifyAllHeapReferences = false {diagnostic} {default}
size_t G1HeapRegionSize = 0 {product} {default}
uintx G1HeapWastePercent = 5 {product} {default}
bool G1VerifyHeapRegionCodeRoots = false {diagnostic} {default}
uintx GCHeapFreeLimit = 2 {product} {default}
size_t HeapBaseMinAddress = 2147483648 {pd product} {default}
bool HeapDumpAfterFullGC = false {manageable} {default}
bool HeapDumpBeforeFullGC = false {manageable} {default}
bool HeapDumpOnOutOfMemoryError = false {manageable} {default}
ccstr HeapDumpPath = {manageable} {default}
uintx HeapFirstMaximumCompactionCount = 3 {product} {default}
uintx HeapMaximumCompactionInterval = 20 {product} {default}
uintx HeapSearchSteps = 3 {product} {default}
size_t HeapSizePerGCThread = 43620760 {product} {default}
size_t InitialHeapSize = 60817408 {product} {ergonomic}
uintx InitiatingHeapOccupancyPercent = 45 {product} {default}
size_t LargePageHeapSizeThreshold = 134217728 {product} {default}
uintx MaxHeapFreeRatio = 70 {manageable} {default}
size_t MaxHeapSize = 968884224 {product} {ergonomic}
size_t MinHeapDeltaBytes = 196608 {product} {ergonomic}
uintx MinHeapFreeRatio = 40 {manageable} {default}
uintx NonNMethodCodeHeapSize = 5824844 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122916698 {pd product} {ergonomic}
bool PrintHeapAtSIGBREAK = true {product} {default}
uintx ProfiledCodeHeapSize = 122916698 {pd product} {ergonomic}
bool ShrinkHeapInSteps = true {product} {default}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment