You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/09/07 19:51:45 UTC

[jira] [Commented] (WICKET-5118) split object-sizeof-agent into agent and initializer

    [ https://issues.apache.org/jira/browse/WICKET-5118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733952#comment-14733952 ] 

Martin Grigorov commented on WICKET-5118:
-----------------------------------------

Another tool with the same purpose: https://github.com/jbellis/jamm

> split object-sizeof-agent into agent and initializer
> ----------------------------------------------------
>
>                 Key: WICKET-5118
>                 URL: https://issues.apache.org/jira/browse/WICKET-5118
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 6.6.0
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>            Priority: Minor
>
> wicket-objectsizeof-agent cannot easily be used for applications deployed in a web container:
> When the main classloader loads InstrumentationObjectSizeOfStrategy from wicket-objectsizeof-agent-x.x.jar, it fails because the implemented IObjectSizeOfStrategy is loaded later by the webapp classloader only.
> The module should be split into two:
> - the agent which makes the instrumentation available
> - a library containing an IInitializer which registeres a custom IObjectSizeOfStrategy (utilizing the instrumentation from the agent)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)