harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject Re: [classlib][misc] Could we make ObjectAccessor.getInstance() public?
Date Sat, 17 Nov 2007 04:36:19 GMT
On 11/17/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
>
> Andrew Zhang wrote:
> > An existing application depends on this feature, but I can't say it's
> > important.
>
> Reading the other responses, I have to agree that it sounds like you are
> looking for this change for an application use rather than Harmony
> implementation, and we don't really want to go there :-)
>
> Don't you want this application to work on other compatible JRE's?


Hi Tim,

It's an performance optimization for those who provide allocateObject
functionality, and it's pluggable.

So if the platform doesn't "support" allocateObject, no problem, is just
slower for some cases.

> I don't think java developers want to distribute their product as jars +
> > .so/.dll.
>
> ...and yet, that is what they would have to do in the case they depend
> upon JNI calls.
>
> > Since Harmony has the java side wrapper,  package friend is also
> > not the problem. The application is using reflection for this
> functionality
> > for other platforms.
> >
> > Well, if it conflicts with our current convention, just ignore my
> > suggestion. Thanks.
>
> Nice try <g> (and let us know when we can try this application!)


sure! :)


> Regards,
> Tim
>
>


-- 
Best regards,
Andrew Zhang

http://zhanghuangzhu.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message