author Chris Martin <cmartin@mozilla.com>
Tue, 02 Apr 2019 03:55:06 +0000
changeset 470355 497561b767374edfe627dcdbadd9b05133c9bf71
parent 362829 ff64a7889c1fac56d48205fc2fad4eb5aa481a73
permissions -rw-r--r--
Bug 1052579 - Add ability to query ArenaID to mozjemalloc_ptr_info. r=glandium To ensure that any new JSString has its char buffer allocated in the new arena, it is useful to be able to query a pointer and assert that it is in the correct arena (at-least in Debug Build). This adds the required functionality to mozjemalloc, and JSString can use it for its new assertion in a later change. Differential Revision: https://phabricator.services.mozilla.com/D25711

import sys
import gdbpp