MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

JS_EnumerateDiagnosticMemoryRegions

This article covers features introduced in SpiderMonkey 17

Enumerate memory regions that contain diagnostic information..

Syntax

void
JS_EnumerateDiagnosticMemoryRegions(JSEnumerateDiagnosticMemoryCallback callback);
Name Type Description
callback JSEnumerateDiagnosticMemoryCallback Pointer to the new callback function to use.

Callback syntax

typedef bool
(* JSEnumerateDiagnosticMemoryCallback)(void *ptr, size_t length);
Name Type Description
ptr void * Pointer to the allocated memory.
length size_t Length of the allocated memory.

Description

JS_EnumerateDiagnosticMemoryRegions enumerates memory regions that contain diagnostic information intended to be included in crash report minidumps.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,