-
public final class MemoryDomain
-
-
Method Summary
Modifier and Type Method Description final GetDOMCountersResponsegetDOMCounters()Official doc final UnitprepareForLeakDetection()Official doc final UnitforciblyPurgeJavaScriptMemory()Simulate OomIntervention by purging V8 memory. final UnitsetPressureNotificationsSuppressed(SetPressureNotificationsSuppressedRequest input)Enable/disable suppressing memory pressure notifications in all processes. final UnitsimulatePressureNotification(SimulatePressureNotificationRequest input)Simulate a memory pressure notification in all processes. final UnitstartSampling(StartSamplingRequest input)Start collecting native memory profile. final UnitstopSampling()Stop collecting native memory profile. final GetAllTimeSamplingProfileResponsegetAllTimeSamplingProfile()Retrieve native memory allocations profile collected since renderer process startup. final GetBrowserSamplingProfileResponsegetBrowserSamplingProfile()Retrieve native memory allocations profile collected since browser process startup. final GetSamplingProfileResponsegetSamplingProfile()Retrieve native memory allocations profile collected since last startSamplingcall.-
-
Method Detail
-
getDOMCounters
final GetDOMCountersResponse getDOMCounters()
-
prepareForLeakDetection
final Unit prepareForLeakDetection()
-
forciblyPurgeJavaScriptMemory
final Unit forciblyPurgeJavaScriptMemory()
Simulate OomIntervention by purging V8 memory.
-
setPressureNotificationsSuppressed
final Unit setPressureNotificationsSuppressed(SetPressureNotificationsSuppressedRequest input)
Enable/disable suppressing memory pressure notifications in all processes.
-
simulatePressureNotification
final Unit simulatePressureNotification(SimulatePressureNotificationRequest input)
Simulate a memory pressure notification in all processes.
-
startSampling
final Unit startSampling(StartSamplingRequest input)
Start collecting native memory profile.
-
stopSampling
final Unit stopSampling()
Stop collecting native memory profile.
-
getAllTimeSamplingProfile
final GetAllTimeSamplingProfileResponse getAllTimeSamplingProfile()
Retrieve native memory allocations profile collected since renderer process startup.
-
getBrowserSamplingProfile
final GetBrowserSamplingProfileResponse getBrowserSamplingProfile()
Retrieve native memory allocations profile collected since browser process startup.
-
getSamplingProfile
final GetSamplingProfileResponse getSamplingProfile()
Retrieve native memory allocations profile collected since last
startSamplingcall.
-
-
-
-