[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 10:34:09 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
Jeroen Frijters wrote:
> In that case, IKVM is broken too. I didn't know that it was legal to
> pass views to GetDirectBufferAddress. The documentation isn't exactly
> very clear on this.
Hmm.. since this code will be so Classpath-specific, perhaps Classpath
should provide the code to handle it.
E.g., Classpath could provide a new class VMDirectBuffer that contained
methods which would be invoked by the VM itself in order to implement
GetDirectBufferAddress() and GetDirectBufferCapacity(). After all,
the logic to retrieve this information is "known" to Classpath,
not to the VM (i.e., the VM would have to be written to a specific
version of Classpath, assumptions about java.nio object fields, etc).
Does this sound feasible? I'm new to this NIO stuff so this idea might be
random and completely wrong.
-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)
- Re: VM support for GetDirectBufferAddress, Archie Cobbs, 2005/01/06
- Re: VM support for GetDirectBufferAddress, Guilhem Lavaux, 2005/01/06
- Re: VM support for GetDirectBufferAddress, Robert Lougher, 2005/01/06
- Re: VM support for GetDirectBufferAddress, Stephen Crawley, 2005/01/06
- RE: VM support for GetDirectBufferAddress, Jeroen Frijters, 2005/01/06
- RE: VM support for GetDirectBufferAddress, Jeroen Frijters, 2005/01/06
- RE: VM support for GetDirectBufferAddress, Jeroen Frijters, 2005/01/06