3 "description": "Heap domain exposes JavaScript heap attributes and capabilities.",
6 "id": "GarbageCollection",
7 "description": "Information about a garbage collection.",
10 { "name": "type", "type": "string", "enum": ["full", "partial"], "description": "The type of garbage collection." },
11 { "name": "startTime", "type": "number" },
12 { "name": "endTime", "type": "number" }
16 "id": "HeapSnapshotData",
17 "description": "JavaScriptCore HeapSnapshot JSON data.",
24 "description": "Enables Heap domain events."
28 "description": "Disables Heap domain events."
32 "description": "Trigger a full garbage collection."
36 "description": "Take a heap snapshot.",
38 { "name": "timestamp", "type": "number" },
39 { "name": "snapshotData", "$ref": "HeapSnapshotData" }
45 "name": "garbageCollected",
46 "description": "Information about the garbage collection.",
48 { "name": "collection", "type": "GarbageCollection" }