2007/1/23, Alexey Varlamov <[EMAIL PROTECTED]>:
2007/1/23, Leo Li <[EMAIL PROTECTED]>:
> Hi, Jimmy:
> Enabling id caching and avoiding calling reflection each time is
> able to improve our performance, which will become one of the focuses
> for our customers.
> Besides, "Harmony" or "hy" are both good substitutes for"jcl".
> And I am willing to work with you on the issue.
>
> Good luck!
> Leo.
>
> On 1/23/07, LvJimmy,Jing <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > Looking into luni native code, I find its reflection caching is
> > disabled, I'd like to enable it to improve Harmony performance.
> > Native reflection caching is to cache reflection method/field id
> > of some classes which is used frequently in native, this mechanism
> > avoid reflect some ids several times which is usually costly.
> > And I find the caching structure(and its file, e.g, jclgrob.h )
> > is usually named with "jcl". I don't know the exact reason why it was
> > named like this, but IMHO it will make sense if we rename it to
> > "Harmony" or something related. Any suggestion?
> > The name style is used in all native codes, not only in luni. I
> > shall rename them in luni during my refactor if no objection, and any
> > volunteer to look into other modules?
Guys,
I'd suggest to do renaming first, then refactor - to simplify outside watching.
Yes, it sounds reasonable, I'll do the cache-enabling first, then renaming :)
> >
> > BTW, I'm not sure if all modules have applied this cache
> > mechanism, if not, maybe we can work to improve the performance.
> >
> > --
> >
> > Best Regards!
> >
> > Jimmy, Jing Lv
> > China Software Development Lab, IBM
> >
>
>
> --
> Leo Li
> China Software Development Lab, IBM
>
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM