mirror of https://github.com/sipwise/jitsi.git
It doesn't work anymore and there are other, non-invasive tools available.sip-call-params
parent
6bc41324be
commit
feee8eda79
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,26 +0,0 @@
|
||||
#
|
||||
# This file lists those classes that should be ignored by
|
||||
# the agent during instrumentation. In most cases these
|
||||
# classes trigger JVM internal errors and should be simply
|
||||
# ignored. Notice that some classes are ignored even if
|
||||
# not listed here (they may cause your JVM to crash
|
||||
# seriously so I hard-coded exclusions for those within
|
||||
# the agent)
|
||||
#
|
||||
# The agent will ignore all classes STARTING WITH the string
|
||||
# indicated. So, you can exclude a whole package by ending
|
||||
# with '.'
|
||||
#
|
||||
|
||||
org.apache.tomcat.jni.OS
|
||||
org.jboss.util.xml.DOMWriter
|
||||
org.jboss.mq.il.uil2.ServerSocketManagerHandler
|
||||
org.hsqldb.jdbc.jdbcConnection
|
||||
org.hsqldb.Index
|
||||
bsh.ParserTokenManager
|
||||
org.eclipse.jdt.internal.compiler.lookup.TypeBinding
|
||||
org.eclipse.jdt.internal.compiler.ast.Expression
|
||||
org.eclipse.jdt.internal.compiler.problem.ProblemReporter
|
||||
org.eclipse.jdt.internal.compiler.impl.Constant
|
||||
com.arjuna.ats.internal.arjuna.objectstore.ShadowingStore
|
||||
sun.reflect.
|
||||
Binary file not shown.
@ -1,78 +0,0 @@
|
||||
/*
|
||||
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Copyright @ 2015 Atlassian Pty Ltd
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package net.java.sip.communicator.plugin.profiler4j;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import net.java.sip.communicator.service.gui.*;
|
||||
import net.java.sip.communicator.util.*;
|
||||
|
||||
import org.osgi.framework.*;
|
||||
|
||||
/**
|
||||
* Activates the profiler plug-in.
|
||||
*
|
||||
* @author Vladimir Skarupelov
|
||||
*/
|
||||
public class ProfilerActivator implements BundleActivator {
|
||||
|
||||
/**
|
||||
* OSGi bundle context.
|
||||
*/
|
||||
public static BundleContext bundleContext;
|
||||
|
||||
Logger logger = Logger.getLogger(ProfilerActivator.class);
|
||||
|
||||
private ServiceRegistration menuRegistration = null;
|
||||
|
||||
public void start(BundleContext bc) throws Exception {
|
||||
bundleContext = bc;
|
||||
|
||||
Hashtable<String, String> toolsMenuFilter =
|
||||
new Hashtable<String, String>();
|
||||
toolsMenuFilter.put(Container.CONTAINER_ID,
|
||||
Container.CONTAINER_TOOLS_MENU.getID());
|
||||
|
||||
menuRegistration = bc.registerService(
|
||||
PluginComponentFactory.class.getName(),
|
||||
new PluginComponentFactory(Container.CONTAINER_TOOLS_MENU)
|
||||
{
|
||||
@Override
|
||||
protected PluginComponent getPluginInstance()
|
||||
{
|
||||
return new SettingsWindowMenuEntry(
|
||||
Container.CONTAINER_TOOLS_MENU, this);
|
||||
}
|
||||
},
|
||||
toolsMenuFilter);
|
||||
|
||||
if (logger.isInfoEnabled())
|
||||
logger.info("PROFILER4J [REGISTERED]");
|
||||
|
||||
}
|
||||
|
||||
public void stop(BundleContext bc) throws Exception {
|
||||
if (menuRegistration != null)
|
||||
{
|
||||
menuRegistration.unregister();
|
||||
if (logger.isInfoEnabled())
|
||||
logger.info("PROFILER4J [UNREGISTERED]");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Copyright @ 2015 Atlassian Pty Ltd
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package net.java.sip.communicator.plugin.profiler4j;
|
||||
|
||||
import net.java.sip.communicator.service.resources.*;
|
||||
|
||||
import org.jitsi.service.resources.*;
|
||||
|
||||
/**
|
||||
* The Messages class manages the access to the internationalization properties
|
||||
* files.
|
||||
*
|
||||
* @author Vladimir Skarupelov;
|
||||
*/
|
||||
public class Resources
|
||||
{
|
||||
private static ResourceManagementService resourcesService = null;
|
||||
|
||||
/**
|
||||
* Returns an internationalized string corresponding to the given key.
|
||||
*
|
||||
* @param key The key of the string.
|
||||
* @return An internationalized string corresponding to the given key.
|
||||
*/
|
||||
public static String getString(String key)
|
||||
{
|
||||
return getResources().getI18NString(key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the <tt>ResourceManagementService</tt>.
|
||||
*
|
||||
* @return the <tt>ResourceManagementService</tt>.
|
||||
*/
|
||||
public static ResourceManagementService getResources()
|
||||
{
|
||||
if (resourcesService == null)
|
||||
resourcesService =
|
||||
ResourceManagementServiceUtils
|
||||
.getService(ProfilerActivator.bundleContext);
|
||||
return resourcesService;
|
||||
}
|
||||
}
|
||||
@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Copyright @ 2015 Atlassian Pty Ltd
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package net.java.sip.communicator.plugin.profiler4j;
|
||||
|
||||
import java.awt.event.*;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
import net.java.sip.communicator.service.gui.*;
|
||||
import net.sf.profiler4j.console.*;
|
||||
|
||||
/**
|
||||
* Menu entry for the profiler plug-in
|
||||
*
|
||||
* @author Vladimir Skarupelov
|
||||
*/
|
||||
public class SettingsWindowMenuEntry
|
||||
extends AbstractPluginComponent
|
||||
{
|
||||
private static final String PROFILER_NAME = "plugin.profiler.PLUGIN_NAME";
|
||||
private JMenuItem settingsMenuEntry;
|
||||
|
||||
public SettingsWindowMenuEntry(Container container,
|
||||
PluginComponentFactory parentFactory)
|
||||
{
|
||||
super(container, parentFactory);
|
||||
|
||||
settingsMenuEntry = new JMenuItem(Resources.getString( PROFILER_NAME ));
|
||||
settingsMenuEntry.addActionListener(new ActionListener()
|
||||
{
|
||||
public void actionPerformed(ActionEvent e)
|
||||
{
|
||||
Prefs prefs = new Prefs();
|
||||
|
||||
System.setProperty("swing.aatext",
|
||||
String.valueOf(prefs.isAntialiasing()));
|
||||
|
||||
final Console app = new Console(prefs);
|
||||
app.connect();
|
||||
MainFrame f = new MainFrame(app);
|
||||
app.setMainFrame(f);
|
||||
f.pack();
|
||||
f.setVisible(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public Object getComponent()
|
||||
{
|
||||
return settingsMenuEntry;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return Resources.getString( PROFILER_NAME );
|
||||
}
|
||||
}
|
||||
@ -1,24 +0,0 @@
|
||||
Bundle-Activator: net.java.sip.communicator.plugin.profiler4j.ProfilerActivator
|
||||
Bundle-Name: Integrated profiler plugin
|
||||
Bundle-Description: A bundle that provides profile cpu and memory of the running app.
|
||||
Bundle-Vendor: jitsi.org
|
||||
Bundle-Version: 0.0.1
|
||||
Bundle-SymbolicName: net.java.sip.communicator.plugin.profiler4j
|
||||
Import-Package: org.apache.commons.logging,
|
||||
org.osgi.framework,
|
||||
org.xml.sax,
|
||||
org.xml.sax.ext,
|
||||
org.xml.sax.helpers,
|
||||
net.java.sip.communicator.service.contactlist,
|
||||
net.java.sip.communicator.service.gui,
|
||||
org.jitsi.service.resources, net.java.sip.communicator.service.resources,
|
||||
net.java.sip.communicator.service.protocol,
|
||||
net.java.sip.communicator.util,
|
||||
javax.swing,
|
||||
javax.swing.border,
|
||||
javax.swing.event,
|
||||
javax.swing.filechooser,
|
||||
javax.swing.table,
|
||||
javax.swing.text,
|
||||
javax.swing.tree,
|
||||
javax.xml.parsers
|
||||
Loading…
Reference in new issue