CefV8ValueAdjustExternallyAllocatedMemory Method |
Adjusts the amount of registered external memory for the object. Used to
give V8 an indication of the amount of externally allocated memory that is
kept alive by JavaScript objects. V8 uses this information to decide when
to perform global garbage collection. Each CefV8Value tracks the amount of
external memory associated with it and automatically decreases the global
total by the appropriate amount on its destruction. |change_in_bytes|
specifies the number of bytes to adjust by. This method returns the number
of bytes associated with the object after the adjustment. This method can
only be called on user created objects.
Namespace:
Internal.Xilium.CefGlue
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public int AdjustExternallyAllocatedMemory(
int changeInBytes
)
Parameters
- changeInBytes
- Type: SystemInt32
Return Value
Type:
Int32See Also