[jira] [Commented] (WICKET-1373) cache created proxy classes

2012-03-20 Thread Martin Grigorov (Commented) (JIRA)

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

Martin Grigorov commented on WICKET-1373:
-

What exactly should be improved here ?
JDK proxy classes are already cached - 
java.lang.reflect.Proxy#newProxyInstance() calls 
java.lang.reflect.Proxy#getProxyClass() which supports caching.

I'm not sure what is the state in CGLIB.

> cache created proxy classes
> ---
>
> Key: WICKET-1373
> URL: https://issues.apache.org/jira/browse/WICKET-1373
> Project: Wicket
>  Issue Type: Sub-task
>Reporter: Igor Vaynberg
>Assignee: Johan Compagner
>
> we can cache the created proxy class and simply give each instance a
> new handler...
> -igor
> On Tue, Feb 26, 2008 at 10:26 AM, James Carman
>  wrote:
> > Have you tried this out using load testing?  You are creating a new
> >  class every time you create a model.  Have you run out of permgen
> >  space?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (WICKET-1373) cache created proxy classes

2008-04-05 Thread James Carman (JIRA)

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

James Carman commented on WICKET-1373:
--

Commons Proxy does this automatically.  So, if we change it to use Proxy, then 
you get this for free.

> cache created proxy classes
> ---
>
> Key: WICKET-1373
> URL: https://issues.apache.org/jira/browse/WICKET-1373
> Project: Wicket
>  Issue Type: Sub-task
>Reporter: Igor Vaynberg
>Assignee: Johan Compagner
> Fix For: 1.4-M1
>
>
> we can cache the created proxy class and simply give each instance a
> new handler...
> -igor
> On Tue, Feb 26, 2008 at 10:26 AM, James Carman
> <[EMAIL PROTECTED]> wrote:
> > Have you tried this out using load testing?  You are creating a new
> >  class every time you create a model.  Have you run out of permgen
> >  space?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.