CefV8Value AdjustExternallyAllocatedMemory Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

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: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

public int AdjustExternallyAllocatedMemory(
	int changeInBytes
)

Parameters

changeInBytes
Type: OnlineSystem Int32

[Missing <param name="changeInBytes"/> documentation for "M:Xilium.CefGlue.CefV8Value.AdjustExternallyAllocatedMemory(System.Int32)"]

Return Value

Type: OnlineInt32

[Missing <returns> documentation for "M:Xilium.CefGlue.CefV8Value.AdjustExternallyAllocatedMemory(System.Int32)"]

See Also