webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
WebCore::WebHeapAgent Class Reference

#include <WebHeapAgent.h>

Inheritance diagram for WebCore::WebHeapAgent:
Inspector::InspectorHeapAgent Inspector::InspectorAgentBase Inspector::HeapBackendDispatcherHandler JSC::HeapObserver Inspector::InspectorAgentBase Inspector::HeapBackendDispatcherHandler JSC::HeapObserver WebCore::PageHeapAgent

Public Member Functions

 WebHeapAgent (Inspector::AgentContext &)
 
virtual ~WebHeapAgent ()
 
- Public Member Functions inherited from Inspector::InspectorHeapAgent
 InspectorHeapAgent (AgentContext &)
 
virtual ~InspectorHeapAgent ()
 
void didCreateFrontendAndBackend (FrontendRouter *, BackendDispatcher *) override
 
void willDestroyFrontendAndBackend (DisconnectReason) override
 
void enable (ErrorString &) override
 
void disable (ErrorString &) override
 
void gc (ErrorString &) final
 
void snapshot (ErrorString &, double *timestamp, String *snapshotData) final
 
void startTracking (ErrorString &) final
 
void stopTracking (ErrorString &) final
 
void getPreview (ErrorString &, int heapObjectId, Inspector::Protocol::OptOutput< String > *resultString, RefPtr< Inspector::Protocol::Debugger::FunctionDetails > &functionDetails, RefPtr< Inspector::Protocol::Runtime::ObjectPreview > &objectPreview) final
 
void getRemoteObject (ErrorString &, int heapObjectId, const String *const optionalObjectGroup, RefPtr< Inspector::Protocol::Runtime::RemoteObject > &result) final
 
void willGarbageCollect () override
 
void didGarbageCollect (JSC::CollectionScope) override
 
 InspectorHeapAgent (AgentContext &)
 
virtual ~InspectorHeapAgent ()
 
void didCreateFrontendAndBackend (FrontendRouter *, BackendDispatcher *) override
 
void willDestroyFrontendAndBackend (DisconnectReason) override
 
void enable (ErrorString &) override
 
void disable (ErrorString &) override
 
void gc (ErrorString &) final
 
void snapshot (ErrorString &, double *timestamp, String *snapshotData) final
 
void startTracking (ErrorString &) final
 
void stopTracking (ErrorString &) final
 
void getPreview (ErrorString &, int heapObjectId, Inspector::Protocol::OptOutput< String > *resultString, RefPtr< Inspector::Protocol::Debugger::FunctionDetails > &functionDetails, RefPtr< Inspector::Protocol::Runtime::ObjectPreview > &objectPreview) final
 
void getRemoteObject (ErrorString &, int heapObjectId, const String *const optionalObjectGroup, RefPtr< Inspector::Protocol::Runtime::RemoteObject > &result) final
 
void willGarbageCollect () override
 
void didGarbageCollect (JSC::CollectionScope) override
 
- Public Member Functions inherited from Inspector::InspectorAgentBase
virtual ~InspectorAgentBase ()
 
String domainName () const
 
virtual void discardValues ()
 
virtual void discardAgent ()
 
virtual ~InspectorAgentBase ()
 
String domainName () const
 
virtual void discardValues ()
 
virtual void discardAgent ()
 
- Public Member Functions inherited from JSC::HeapObserver
virtual ~HeapObserver ()
 
virtual ~HeapObserver ()
 

Protected Member Functions

void disable (ErrorString &) override
 
void dispatchGarbageCollectedEvent (Inspector::Protocol::Heap::GarbageCollection::Type, double startTime, double endTime) override
 
void dispatchGarbageCollectionEventsAfterDelay (Vector< GarbageCollectionData > &&collections)
 
- Protected Member Functions inherited from Inspector::InspectorHeapAgent
void clearHeapSnapshots ()
 
void clearHeapSnapshots ()
 
- Protected Member Functions inherited from Inspector::InspectorAgentBase
 InspectorAgentBase (const String &name)
 
 InspectorAgentBase (const String &name)
 
- Protected Member Functions inherited from Inspector::HeapBackendDispatcherHandler
virtual ~HeapBackendDispatcherHandler ()
 
virtual ~HeapBackendDispatcherHandler ()
 

Protected Attributes

std::unique_ptr< SendGarbageCollectionEventsTaskm_sendGarbageCollectionEventsTask
 
- Protected Attributes inherited from Inspector::InspectorAgentBase
String m_name
 

Friends

class SendGarbageCollectionEventsTask
 

Constructor & Destructor Documentation

◆ WebHeapAgent()

WebCore::WebHeapAgent::WebHeapAgent ( Inspector::AgentContext context)

◆ ~WebHeapAgent()

WebCore::WebHeapAgent::~WebHeapAgent ( )
virtual

Member Function Documentation

◆ disable()

void WebCore::WebHeapAgent::disable ( ErrorString errorString)
overrideprotected

◆ dispatchGarbageCollectedEvent()

void WebCore::WebHeapAgent::dispatchGarbageCollectedEvent ( Inspector::Protocol::Heap::GarbageCollection::Type  type,
double  startTime,
double  endTime 
)
overrideprotectedvirtual

Reimplemented from Inspector::InspectorHeapAgent.

◆ dispatchGarbageCollectionEventsAfterDelay()

void WebCore::WebHeapAgent::dispatchGarbageCollectionEventsAfterDelay ( Vector< GarbageCollectionData > &&  collections)
protected

Friends And Related Function Documentation

◆ SendGarbageCollectionEventsTask

Member Data Documentation

◆ m_sendGarbageCollectionEventsTask

std::unique_ptr<SendGarbageCollectionEventsTask> WebCore::WebHeapAgent::m_sendGarbageCollectionEventsTask
protected

The documentation for this class was generated from the following files: