Closed Bug 525372 Opened 16 years ago Closed 4 years ago

Remove JS_updateMallocCounter(JSContext *cx, size_t nbytes) from public API

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: brendan, Unassigned)

References

(Blocks 1 open bug)

Details

Presumably all we really need is JS_FRIEND_API for JSContext::checkMallocGCPressure, so that checkMallocGCPressure is exported to callers of inline methods of JSContext that call checkMallocGCPressure. /be
Assignee: general → nobody
Blocks: jsapi

JS_updateMallocCounter has been replaced with JS::{Add/Remove}AssociatedMemory. These are needed to track external memory associated with JSObjects.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.