[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading native libraries
From: |
Archie Cobbs |
Subject: |
Re: Loading native libraries |
Date: |
Thu, 3 Jun 2004 13:46:06 -0500 (CDT) |
Jeroen Frijters wrote:
> > Before I go and implement this, does this sound correct to everyone?
>
> I think we desperately need a VMClassLoader.getCallerClassLoader()
> method. That way we can simply modify the various load/loadLibrary
> methods to call that. It's also much more efficient to implement and can
> be interacts better with method inlining.
But what the semantics of this method? I.e., define the "caller".
For example, would it return the same thing for both of these call traces?
Foo.method -> Runtime.loadLibrary()
Foo.method -> System.loadLibrary() -> Runtime.loadLibrary()
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com