[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VM support for GetDirectBufferAddress
From: |
Archie Cobbs |
Subject: |
Re: VM support for GetDirectBufferAddress |
Date: |
Thu, 06 Jan 2005 11:26:11 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
Michael Koch wrote:
>>If they have to handle views, they don't seem "trivial" to me, but
>>then again I'm unfamiliar with this stuff.
>
> I have a patch here which makes it easy. I just don't wanna commit it
> before the release.
>
>>What is the "trivial" algorithm I need to implement then? It
>>doesn't seem obvious, and seems dependent on the particulars of
>>Classpath's java.nio classes. But maybe I'm missing something.
>
> for GetDirectBufferAddress: Return the pointer stored in
> java.nio.Buffer.address (doesn't exist yet).
>
> for GetDirectBufferCapacity: Return the value of
> java.nio.Buffer.capacity or -1 if java.nio.Buffer.address is NULL.
OK, now I understand. Thanks in advance for providing this patch.
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies of
the original message.
*
- RE: VM support for GetDirectBufferAddress, (continued)