Open Bug 1063697 Opened 10 years ago Updated 2 years ago

configure.in tests for js/src/shell/js.cpp's ShellMallocSizeOf don't pick up header for malloc_size on Mac

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect

Tracking

()

People

(Reporter: jimb, Assigned: jimb)

Details

Attachments

(1 file)

On Darwin, the malloc_size function, declared in <malloc/malloc.h>, will return the size of a malloc block, so we want to use it in ShellMallocSizeOf. However, our configure patch originally tested for malloc_size but not <malloc/malloc.h>, causing build failures. For expedience, I backed out the configure check for malloc_size altogether.

We should get this working on Mac, and ideally on Windows as well (which has the _msize function).
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: