Open
Bug 1487214
Opened 7 years ago
Updated 3 years ago
We don't seem to memory-report the memory JitcodeGlobalTable::allocateEntry allocates
Categories
(Core :: JavaScript Engine: JIT, enhancement, P3)
Core
JavaScript Engine: JIT
Tracking
()
NEW
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [overhead:noted])
From a DMD report, we have 34 allocations of 16KiB each that are not reported:
Unreported {
34 blocks in heap block record 36 of 6,988
557,056 bytes (557,056 requested / 0 slop)
Individual block sizes: 16,384 x 34
0.12% of the heap (26.60% cumulative)
0.31% of unreported (72.28% cumulative)
Allocated at {
#01: replace_malloc(unsigned long) (DMD.cpp:1267, in libmozglue.dylib)
#02: js::LifoAlloc::getOrCreateChunk(unsigned long) (LifoAlloc.cpp:32, in XUL)
#03: js::jit::JitcodeGlobalTable::allocateEntry() (LifoAlloc.h:609, in XUL)
#04: js::jit::JitcodeGlobalTable::addEntry(js::jit::JitcodeGlobalEntry const&) (JitcodeMap.cpp:503, in XUL)
#05: js::jit::BaselineCompiler::compile() (BaselineCompiler.cpp:293, in XUL)
#06: js::jit::BaselineCompile(JSContext*, JSScript*, bool) (BaselineJIT.cpp:266, in XUL)
#07: js::jit::CanEnterBaselineMethod(JSContext*, js::RunState&) (BaselineJIT.cpp:310, in XUL)
#08: js::jit::MaybeEnterJit(JSContext*, js::RunState&) (Jit.cpp:153, in XUL)
}
}
Comment 1•7 years ago
|
||
We have plans to remove this code soon, so I think we should hold off doing anything here for now.
Updated•7 years ago
|
Whiteboard: [overhead:noted]
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Component: JavaScript Engine → JavaScript Engine: JIT
Comment 2•5 years ago
|
||
From skimming source code, it looks like this still exists.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•