[Mono-dev] Loader Optimization with mono

techi eth techieth at gmail.com
Tue Jun 7 08:34:04 UTC 2016


What is meaning of below query
http://www.mono-project.com/docs/faq/technical/ Can Mono or .NET share
system classes (loaded from mscore.dll and other libs) or will it behave
like Sun’s Java VM?

What you can do with mono is to load different applications in their own
application domain: this is a feature of the CLR that allows sandboxing
applications inside a single process space. This is usually exploited to
compartmentalize different parts of the same app, but it can also be
effectively used to reduce the startup and memory overhead. Using different
appdomains the runtime representation of types and methods is shared across
applications.


what is the use of below option from mono.
mono --list-opt

shared     Emit per-domain code
sched      Instruction scheduling


On Sat, Jun 4, 2016 at 1:29 AM, Rodrigo Kumpera <kumpera at gmail.com> wrote:

> Mono doesn't implement LoaderOptimization.
>
> On Thu, Jun 2, 2016 at 5:59 AM, techi eth <techieth at gmail.com> wrote:
>
>> Does  [LoaderOptimization(LoaderOptimization.MultiDomainHost)] work as
>> desired on mono?
>>
>> I am using Mono 4.2 version on ubuntu  to test.
>>
>>
>>
>> I had following observation
>>
>>
>>
>> 1. Exe with this attribute and without this attribute take same memory.
>> Even I had check shared memory also is same and residual - shared is also
>> same .
>>
>> 2. Is there any tool on linux like Process explorer in windows to verify
>> that all GAC assembly go to shares memory after this attribute is applied.
>>
>>
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20160607/3535ee55/attachment.html>


More information about the Mono-devel-list mailing list