memory

package
v4.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Kibi = 1024
	Mibi = 1024 * Kibi
	Gibi = 1024 * Mibi
	Tibi = 1024 * Gibi
)
View Source
const DefaultMaxDirectMemory = MaxDirectMemory(10 * Mibi)
View Source
const DefaultReservedCodeCache = ReservedCodeCache(240 * Mibi)
View Source
const DefaultStack = Stack(Mibi)

Variables

This section is empty.

Functions

func IsMaxDirectMemory

func IsMaxDirectMemory(s string) bool

func IsMaxHeap

func IsMaxHeap(s string) bool

func IsMaxMetaspace

func IsMaxMetaspace(s string) bool

func IsReservedCodeCache

func IsReservedCodeCache(s string) bool

func IsStack

func IsStack(s string) bool

Types

type MaxDirectMemory

type MaxDirectMemory Size

func ParseMaxDirectMemory

func ParseMaxDirectMemory(s string) (MaxDirectMemory, error)

func (MaxDirectMemory) String

func (m MaxDirectMemory) String() string

type MaxHeap

type MaxHeap Size

func ParseMaxHeap

func ParseMaxHeap(s string) (MaxHeap, error)

func (MaxHeap) String

func (m MaxHeap) String() string

type MaxMetaspace

type MaxMetaspace Size

func ParseMaxMetaspace

func ParseMaxMetaspace(s string) (MaxMetaspace, error)

func (MaxMetaspace) String

func (m MaxMetaspace) String() string

type ReservedCodeCache

type ReservedCodeCache Size

func ParseReservedCodeCache

func ParseReservedCodeCache(s string) (ReservedCodeCache, error)

func (ReservedCodeCache) String

func (r ReservedCodeCache) String() string

type Size

type Size int64

func ParseSize

func ParseSize(s string) (Size, error)

func (Size) String

func (s Size) String() string

type Stack

type Stack Size

func ParseStack

func ParseStack(s string) (Stack, error)

func (Stack) String

func (s Stack) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL