Closed
Bug 148171
Opened 24 years ago
Closed 24 years ago
js_FinishDtoa() not called unless JS_THREADSAFE is set
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: scole, Assigned: khanson)
References
Details
(Keywords: js1.5)
Attachments
(1 file, 1 obsolete file)
|
1.58 KB,
patch
|
khanson
:
review+
shaver
:
superreview+
jesup
:
approval+
|
Details | Diff | Splinter Review |
This is a follow on to bug 85267: js_FinishDtoa() is not called unless
JS_THREADSAFE is set. (Since js_FinishDtoa() is only called inside
js_CleanupLocks(), which is only available for JS_THREADSAFE builds.)
Since js_FinishDtoa() now does memory cleanup as well, we should call it even
for builds with JS_THREADSAFE not set.
Patch coming up.
--scole
| Reporter | ||
Comment 1•24 years ago
|
||
Note that this patch *does not* remove the call to js_FinishDtoa from
js_CleanupLocks, but adds one in JS_Shutdown for non threadsafe builds. I'm
not entirely sure whether the call in js_CleanupLocks should be removed or not.
--scole
| Reporter | ||
Comment 2•24 years ago
|
||
I missed an unprototyped function warning in the prior patch; this fixes that.
--scole
Attachment #85622 -
Attachment is obsolete: true
Comment 4•24 years ago
|
||
Need r=, sr= to get this patch in for JS 1.5 -
| Assignee | ||
Comment 5•24 years ago
|
||
Comment on attachment 85624 [details] [diff] [review]
Revised patch
r=khanson
Attachment #85624 -
Flags: review+
| Reporter | ||
Comment 6•24 years ago
|
||
>Ping<
Just need an sr= on this one...
--scole
Comment 7•24 years ago
|
||
Comment on attachment 85624 [details] [diff] [review]
Revised patch
sr=shaver
Attachment #85624 -
Flags: superreview+
| Reporter | ||
Comment 8•24 years ago
|
||
Woohoo! Thanks, shaver... Kenton, can you check this in for me, please? --scole
Comment 9•24 years ago
|
||
I think we want this on the branch as well, to keep the trunk
and branch in sync; so drivers will have to be emailed also -
Comment 10•24 years ago
|
||
Comment on attachment 85624 [details] [diff] [review]
Revised patch
Approved for 1.0 branch; please change mozilla1.0.1+ to fixed1.0.1 when checked
in. Please check in ASAP
Attachment #85624 -
Flags: approval+
Updated•24 years ago
|
Keywords: mozilla1.0.1+
Target Milestone: --- → mozilla1.0.1
Comment 11•24 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Keywords: mozilla1.0.1+ → fixed1.0.1
Resolution: --- → FIXED
The jslock.c change broke the Mac builds.
| Reporter | ||
Comment 13•24 years ago
|
||
Oh, drat. timeless: Add a
#include "jsdtoa.h"
in the includes section of jslock.c to get this working again. (Can you do a
mac build to try it out first, though?)
--scole
Comment 14•24 years ago
|
||
Patch verified on trunk and MOZILLA_1_0_BRANCH.
Status: RESOLVED → VERIFIED
Keywords: verified1.0.1
You need to log in
before you can comment on or make changes to this bug.
Description
•