[Mondrian] Large number of clone calls associatedwithMemberTypeenumeration
Julian Hyde
julianhyde at speakeasy.net
Sun Jul 15 03:57:20 EDT 2007
> After fix:
> Method Call Count: Callers of java.lang.Object.clone: # of calls
> 1996577
> mondrian.olap.fun.CrossJoinFunDef.crossJoin(List,List,Evaluato
> r,Resolved
> FunCall)
> 60683 java.lang.Class.getConstructor0(Class[],int)
> 15356 java.lang.reflect.Constructor.getParameterTypes()
> 2192 java.lang.Class.getEnumConstants()
> 996
> java.security.AccessControlContext.<init>(ProtectionDomain[])
> 836 org.jdom.Content.clone()
> 668 java.lang.reflect.Method.getParameterTypes()
Nothing of much concern here: the call from crossJoin is basically
allocating an array, which would need to be done anyhow; and the other
usages have acceptable numbers of calls.
Julian
More information about the Mondrian
mailing list