-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compartments filter/search term? #7
Comments
Hi
The problem is that the nsICycleCollectorListener (used to get the CC object graph) I am CCing Olli. Olli, do you think we could get this kind of somewhere? Honza
Hi I wonder if it would be at all possible to add some kind of filter or search capability to only show results related to a specific compartments (as shown in the about:compartments page). For example, I know one of the add-ons I'm developping causes a zombie compartment sometimes (see https://bugzilla.mozilla.org/show_bug.cgi?id=743318 for details). Seeing as I don't know what exactly is causing the zombie compartment, I have no idea what I should be searching for in the ccdump objects list, and because I can't reproduce it all the time, especially at startup when the number of objects reported by ccdump is still low, it's nearly impossible to go through everything in the ccdump graph, even if I did that I probably wouldn't recognize it since, once again, I don't know what I'm looking for. This is what brings me to my question/suggestion. If we could tell ccdump to "only show objects related to X-Compartment", where X-Compartment is as shown in the about:compartments, would be a great help. Do you think this is possible? If not, I'd really appreciate any suggestions you might have about my problem. |
On 04/10/2012 02:32 PM, Jan Odvarko wrote:
CC graph is about C++ objects (and possible JS object between some C++
|
(I know nothing about the way either CC graph or the about:compartments page work, so this may be a stupid question, but) Is there no way to join the two types of information? Maybe if the compartments found are related to a memory address or a list of memory addresses, all the objects related to those addresses would probably belong to those compartments? Or not, maybe I'm completely wrong, like I said I know nothing about either of these systems and even less about programming at this level, I just find it odd that we are able to obtain both kinds of information but unable to connect the two. Maybe this is something worth opening a bug in mozilla's bugzilla too? |
Hi I wonder if it would be at all possible to add some kind of filter or search capability to only show results related to a specific compartments (as shown in the about:compartments page).
For example, I know one of the add-ons I'm developping causes a zombie compartment sometimes (see https://bugzilla.mozilla.org/show_bug.cgi?id=743318 for details). Seeing as I don't know what exactly is causing the zombie compartment, I have no idea what I should be searching for in the ccdump objects list, and because I can't reproduce it all the time, especially at startup when the number of objects reported by ccdump is still low, it's nearly impossible to go through everything in the ccdump graph, even if I did that I probably wouldn't recognize it since, once again, I don't know what I'm looking for.
This is what brings me to my question/suggestion. If we could tell ccdump to "only show objects related to X-Compartment", where X-Compartment is as shown in the about:compartments, would be a great help. Do you think this is possible? If not, I'd really appreciate any suggestions you might have about my problem.
The text was updated successfully, but these errors were encountered: