[jbosstools-issues] [JBoss JIRA] (JBIDE-17315) Investigate org.eclipse.jst.server.core.serverProfilers ext.pt.

Rob Stryker (JIRA) issues at jboss.org
Mon Sep 29 11:16:02 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker updated JBIDE-17315:
--------------------------------
    Fix Version/s: 4.3.0.Alpha1


> Investigate org.eclipse.jst.server.core.serverProfilers ext.pt.
> ---------------------------------------------------------------
>
>                 Key: JBIDE-17315
>                 URL: https://issues.jboss.org/browse/JBIDE-17315
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: jmx, server
>            Reporter: Rob Stryker
>             Fix For: 4.3.0.Alpha1
>
>
> The extension point provided in upstream WTP for declaring server profilers is called org.eclipse.jst.server.core.serverProfilers.
> The primary function of the implementation class org.eclipse.jst.server.core.ServerProfilerDelegate is adding arguments to launches in order to enable the proper agent. 
> If used with other profilers, arguments may need to be appended to the launch in order to enable the profiling. 
> If used via JVM Monitor, though, no real arguments are required, as JVM Monitor can install its agent directly without any changes on the part of the launch. 
> However, if we assume that JBIDE-17313 is solved and we can detect the duplicates, we could prevent the agent from being installed. We would be preventing the auto-detector from being added to the view. On our server startup, then, and only when profiling is enabled, we would connect the underlying jvmmonitor's agent and allow profiling. 
> This could be accomplished via a custom attribute on the launch configuration which could be flipped by the user via a radio / check button to enable or disable the profiler. 



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list