I think using WeakReference and ReferenceQueue can't help because according to RI I have to give customer array
On 7/28/06, Ivanov, Alexey A <[EMAIL PROTECTED]> wrote:
>-----Original Message----- >From: Igor Stolyarov [mailto:[EMAIL PROTECTED] >Sent: Friday, July 28, 2006 9:25 AM >To: harmony-dev@incubator.apache.org >Subject: Re: AWT 2D PERFORMANCE ISSUE > >I'm sorry. May be I don't clear explained my question. Main target of my >question was discussion of synchronization of two arrays one of these is >java array, second is native array. Main issue of this synchronization is >the fact that customer can recieve reference to the java array and we don't >know when customer will release the array. What about using Weak- or PhantomReferences and ReferenceQueue? They may solve your problem. Regards, -- Alexey A. Ivanov Intel Middleware Product Division <SNIP> --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Igor V. Stolyarov Intel Middleware Products Division