Howto re-compile ony parts?
Phil Race
Phil.Race at Sun.COM
Sun May 11 15:21:31 UTC 2008
Igor Nekrestyanov wrote:
>>>
>> Thank you many many times for this, I don't know how long further I
>> would have searched without this information.
>> What is this file good for and how is it used during the build?
>>
> I believe mapfiles are used to defines set of methods to be exported
> from shared library.
> Perhaps, you may grep build log file for mapfile name to see how this
> is done exactly
> (do not have linux build here and have not checked log myself).
>
> My understanding of why we use this is following.
> Symbol tables for all methods from the library are large and explicit
> control on set of exported methods
> is workaround to reduce library file size (and size has impact on
> memory footprint, download footprint, startup time, etc.).
>
I don't know how much it helps any of these but the principal reason has
always been to avoid
potential name space clashes. For the most part the only symbols that
need to be exported are
the names of JNI methods. ie the entry points from Java code into native.
-phil.
More information about the build-dev
mailing list