Closed
Bug 1150312
Opened 10 years ago
Closed 9 years ago
Check if MOZ_SHARK is still used and if not remove it
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox42 fixed)
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: gioyik, Mentored)
References
Details
(Whiteboard: [good first bug])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
I asked a couple of people that are in the know and no one knew whether MOZ_SHARK is still needed. If it isn't it then it can be removed.
Comment 1•10 years ago
|
||
Probably worth asking dev.platform first, but if no one jumps up and down we should just remove it and see who complains :)
Reporter | ||
Comment 2•10 years ago
|
||
done
Reporter | ||
Updated•10 years ago
|
Whiteboard: [good first bug][mentor=:rstrong]
Comment 3•10 years ago
|
||
Still seeing email going by about this: can I get a go/no-go call on this so I can surface it to the community?
Flags: needinfo?(robert.strong.bugs)
Comment 4•10 years ago
|
||
I haven't heard anything but speculation that someone somewhere might possibly be using it. In the absence of evidence I say we remove it.
Reporter | ||
Comment 5•10 years ago
|
||
As I understand it there are also alternatives. Go for it
Flags: needinfo?(robert.strong.bugs)
Reporter | ||
Comment 6•10 years ago
|
||
If you or someone else would prefer to mentor this feel free to take over
Comment 7•10 years ago
|
||
Sheppy asked in the dev-platform thread whether the tenfourfox people should be contacted for this, and there is evidence that the tenfourfox people have seen the thread (http://tenfourfox.blogspot.jp/2015/04/beware-undead-snow-leopard.html), so I guess they would have complained if they were actively using shark. That said, better safe than sorry, so let's get an explicit statement. Cameron?
Flags: needinfo?(spectre)
Comment 8•10 years ago
|
||
Yes, I'm aware. The MOZ_SHARK code appears to be specific to actually controlling Shark, whereas I just use Shark to attach to a running application and take samples, so I don't think removing it should affect TenFourFox work. However, I'd prefer this was not backported to 38ESR just in case, since I'm actively working on that port.
Flags: needinfo?(spectre)
Updated•9 years ago
|
Mentor: robert.strong.bugs
Whiteboard: [good first bug][mentor=:rstrong] → [good first bug]
Assignee | ||
Comment 9•9 years ago
|
||
Hi,
I am seeing many MOZ_SHARK on source code [1]. I want to make a patch for this, so could you tell me which one should be removed?
Thanks
[1]: http://mxr.mozilla.org/mozilla-central/search?string=MOZ_SHARK
Flags: needinfo?(robert.strong.bugs)
Reporter | ||
Comment 10•9 years ago
|
||
MOZ_SHARK is no longer needed so all.
Flags: needinfo?(robert.strong.bugs)
Assignee | ||
Comment 11•9 years ago
|
||
Attachment #8638094 -
Flags: review?(robert.strong.bugs)
Assignee | ||
Comment 12•9 years ago
|
||
Hi Robert,
I submitted a patch. Could you review it and tell me if is ok?
Thanks
Reporter | ||
Comment 13•9 years ago
|
||
Comment on attachment 8638094 [details] [diff] [review]
1150312.patch
Nice... looks good to me.
Let's also have a build peer review this.
Attachment #8638094 -
Flags: review?(robert.strong.bugs)
Attachment #8638094 -
Flags: review?(mh+mozilla)
Attachment #8638094 -
Flags: feedback+
Assignee | ||
Comment 14•9 years ago
|
||
Thanks, I will assign this bug to myself to keep it following.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gioyik
Comment 15•9 years ago
|
||
Comment on attachment 8638094 [details] [diff] [review]
1150312.patch
Review of attachment 8638094 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you for your patch.
"Check if MOZ_SHARK is still used and if not remove it" does not describe what the change is about. Please change this to e.g. "Remove MOZ_SHARK".
::: js/src/configure.in
@@ -3231,5 @@
> - MOZ_PROFILING=1
> - AC_DEFINE(MOZ_SHARK)
> -fi
> -
> -dnl ========================================================
There's an AC_SUSBT(MOZ_SHARK) leftover at line 3702.
Attachment #8638094 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 17•9 years ago
|
||
Hi Mike,
I added the change you mentioned in the comment and changed the description in the patch. I usually put as description bug title, but I have not problem to change with a more descriptive text.
Let me know if this one is ok and good to land.
Thanks
Updated•9 years ago
|
Attachment #8638255 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 18•9 years ago
|
||
So, should I add checkin-needed keyword now? or there's something else to do?
Flags: needinfo?(mh+mozilla)
Reporter | ||
Comment 19•9 years ago
|
||
That works and thanks again!
Flags: needinfo?(mh+mozilla)
Keywords: checkin-needed
Updated•9 years ago
|
Attachment #8638094 -
Attachment is obsolete: true
Comment 20•9 years ago
|
||
Keywords: checkin-needed
Comment 21•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•