myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] [Commented] (EXTCDI-298) [perf] reduce overhead in ClassUtils
Date Wed, 11 Jul 2012 13:02:35 GMT


Mark Struberg commented on EXTCDI-298:

Can you please test now? I've at least removed the doPrivileged for you. It will now only
get executed if a SecurityManager is present.

For fixing the loadClassForName I would need a stacktrace. And the number of times this gets

A cache as you did it is not possible since "org.mypackage.MyClass" might be different for
WebAppA and a WebAppB...
> [perf] reduce overhead in ClassUtils
> ------------------------------------
>                 Key: EXTCDI-298
>                 URL:
>             Project: MyFaces CODI
>          Issue Type: Improvement
>            Reporter: Thomas Andraschko
>            Assignee: Mark Struberg
>         Attachments: EXTCDI-298.patch
> As discussed with gerhard, i removed the #doPriviliged which improved the method execution
duration from 50ms to 0ms (30.000 invocations / request)
> I also added a class cache which improves loadClassForName from 62ms to 6ms for 9600

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message