[jboss-as7-dev] cache java.lang.Proxy?

Stuart Douglas stuart.w.douglas at gmail.com
Sat Jul 7 18:55:04 EDT 2012


It caches it in a weak map.

Stuart

On Sun, Jul 8, 2012 at 2:14 AM, Bill Burke <bburke at redhat.com> wrote:
> javadoc says that its supposed to cache it, but... who knows...
>
> I recently had to increase the permgen space of my maven build and
> thought this might be it.
>
> On 7/7/12 11:56 AM, Bill Burke wrote:
>> is it pretty bad to call:
>>
>> java.lang.Proxy.newInstance(...) often?  Does it create a new class each
>> and every time?  Can't believe I forgot about this one...I'm a f'n idiot.
>>
>> Bill
>>
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


More information about the jboss-as7-dev mailing list