|
Re: Using APR for Harmony's native link to the OS?: msg#01014java.harmony.devel
Artem Aliev wrote: Hello,Is this what you need? http://apr.apache.org/docs/apr/group__apr__allocator.html I just skimmed over the APR document, seems APR provides two memory related modules, one is based on apr_pool_t, the other uses apr_allocator_t, they can be linked by set apr_pool_t as owner of apr_allocator_t, but I have no idea what it means, anyone can help? anyway, the internal memory allocation functions(the one using apr_allocator_t) seems OK as a memory model. The second problem is ugly "Developing wrappers over wrappers".Agree with you that APR may need many new functions to fully support VM and class library, as an example, Java NIO supports async socket IO by Selector and SelectableChannel, Harmony portlib provides native support to the select operation, but I cannot find direct support from APR(maybe just because I missed it, after all I'm a newbie to APR ;-) , anyway, just an example). But after all, maybe we don't need to implement everything in APR as well as portlib, what we should do at first is to specify a reasonable portlib interfaces which is just fit for the our needs. The current portlib is a pretty good base for discussion I think. Comments? Thank you, -- Paulex Yang China Software Development Lab IBM
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: local test server (Was: Re: [jira] Commented: (HARMONY-71) java.net.URLConnection.setUseCaches throws unspecified IllegalAccessError), Mark Hindess |
|---|---|
| Next by Date: | Re: local test server (Was: Re: [jira] Commented: (HARMONY-71) java.net.URLConnection.setUseCaches throws unspecified IllegalAccessError), George Harley |
| Previous by Thread: | Re: Using APR for Harmony's native link to the OS?, Archie Cobbs |
| Next by Thread: | Re: Using APR for Harmony's native link to the OS?, Mladen Turk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |