Proxy.isProxyClass scalability (original) (raw)

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Jan 25 16:43:51 UTC 2013


On 01/25/2013 08:40 PM, Peter Levart wrote:

On 01/25/2013 05:34 PM, Aleksey Shipilev wrote:

But, otherwise, can't we use java.lang.ClassValue to associate this flag with each class? That is my proposed patch. It tries to be space saving and does not associate the flag with each class, but only with each subclass of java.lang.reflect.Proxy.

Ah, I see. Sorry, I wasn't following the thread carefully. Cramming the boolean field into j.l.Class when we have ClassValue does not seem worth considering.

-Aleksey.



More information about the core-libs-dev mailing list