[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: native java libraries



I was responding to this:

>>>>

So here is my proposal:
Since the use of native java libraries is a feature of GCJ/GIJ only,the 
handling of those libraries should be left to those. GIJ should first 
check if there is native version of a java library. If not, it should 
compile one the first time it is needed, and persistently add it to a 
cache of native libraries (e.g. in somewhere in /var). This would meana 
performance loss the first time a library is loaded, but might improve 
loading speed on future access.

<<<<

On Tue, 2005-03-29 at 17:49 +0200, Michael Koch wrote:
> On Tue, Mar 29, 2005 at 08:33:47AM -0600, Jerry Haltom wrote:
> > There is no good way to make a global cache at runtime other than a SUID
> > binary, which is not happening. A per user cache is also not practical.
> 
> Package installation is done as root so no SUID bit would need to be
> set. And it doenst need to be SUID to read the cache either. What the
> original author described was basically the gcj-dbtool.
> 
> 
> Michael
> -- 
> Homepage: http://www.worldforge.org/
> 
> 
-- 
Jerry Haltom <wasabi@larvalstage.net>



Reply to: