DVMemoryProfile enum
The class of device a target belongs to, which decides the default segment size and whether committing pages at startup is allowed.
Values
- desktop → const DVMemoryProfile
-
const DVMemoryProfile(DVSize.mb(256)) - mobile → const DVMemoryProfile
-
const DVMemoryProfile(DVSize.mb(64)) - embedded → const DVMemoryProfile
-
const DVMemoryProfile(DVSize.mb(32)) - web → const DVMemoryProfile
-
const DVMemoryProfile(DVSize.mb(128))
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - refusesTouchPages → bool
-
Whether committing physical pages up front is refused here: the
OOM killer on mobile and embedded devices takes a process that holds
committed pages it is not using.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segment → DVSize
-
The default segment size for this profile.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
DVMemoryProfile> - A constant List of the values in this enum, in order of their declaration.