Closed
Bug 1243754
Opened 9 years ago
Closed 9 years ago
TEST-UNEXPECTED-FAIL | valgrind-test | 4,096 bytes in 1 blocks are definitely lost at malloc / js_malloc / new_ / getOrCreateChunk
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla47
| Tracking | Status | |
|---|---|---|
| firefox47 | --- | fixed |
People
(Reporter: h4writer, Assigned: h4writer)
References
Details
Attachments
(1 file, 1 obsolete file)
|
637 bytes,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
Fallout from landing of shard stubs in bug 1241087
| Assignee | ||
Comment 1•9 years ago
|
||
Small patch. I failed to account for the different way BaselineScript and IonScript are destroyed. As a result the fallbackspace wasn't free'ed. Manually freeing here.
Assignee: nobody → hv1989
Attachment #8713534 -
Flags: review?(jdemooij)
Comment 2•9 years ago
|
||
Comment on attachment 8713534 [details] [diff] [review]
Free the stubspace
Review of attachment 8713534 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jit/Ion.cpp
@@ +1280,5 @@
> {
> script->unlinkFromRuntime(fop);
> // Frees the potential event we have set.
> script->traceLoggerScriptEvent_ = TraceLoggerEvent();
> + script->fallbackStubSpace_.free();
Instead of these last two lines, can we use fop->delete_(script) below, instead of free_?
Comment 3•9 years ago
|
||
Flags: needinfo?(hv1989)
Attachment #8713534 -
Flags: review?(jdemooij)
| Assignee | ||
Comment 4•9 years ago
|
||
Indeed a little bit more elegant.
Attachment #8713534 -
Attachment is obsolete: true
Flags: needinfo?(hv1989)
Attachment #8715774 -
Flags: review?(jdemooij)
Comment 5•9 years ago
|
||
Comment on attachment 8715774 [details] [diff] [review]
Delete the IonScript
Review of attachment 8715774 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8715774 -
Flags: review?(jdemooij) → review+
Comment 7•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•