X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=man%2Fmono.1;h=ef13ea04f687662685e404f3aeaca950df961480;hb=9197bd0e1c491b887f12bf11d7bf61d1df31d13c;hp=c4589ea70c7243f74525d5669f342c983f24f39b;hpb=11626cfe384c298ea1500b00f0cea7d91c80b9d8;p=mono.git diff --git a/man/mono.1 b/man/mono.1 index c4589ea70c7..ef13ea04f68 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -257,6 +257,9 @@ The default files are /etc/mono/config and ~/.mono/config or the file specified in the MONO_CONFIG environment variable, if set. See the mono-config(5) man page for details on the format of this file. .TP +\fB--aot-path=PATH\fR +List of additional directories to search for AOT images. +.TP \fB--debugger-agent=[options]\fR This instructs the Mono runtime to start a debugging agent inside the Mono runtime and connect it to a @@ -332,6 +335,12 @@ Currently this merely ensures that you are running either the \fBMONO_ENV_OPTIONS\fR environment variable to force all of your child processes to use one particular kind of GC with the Mono runtime. .TP +\fB--gc-debug=[options]\fR +Command line equivalent of the \fBMONO_GC_DEBUG\fR environment variable. +.TP +\fB--gc-params=[options]\fR +Command line equivalent of the \fBMONO_GC_PARAMS\fR environment variable. +.TP \fB--arch=32\fR, \fB--arch=64\fR (Mac OS X only): Selects the bitness of the Mono binary used, if available. If the binary used is already for the selected bitness, nothing @@ -844,6 +853,26 @@ The offsets displayed are IL offsets. .PP A more powerful coverage tool is available in the module `monocov'. See the monocov(1) man page for details. +.SH AOT PROFILING +You can improve startup performance by using the AOT profiler. +.PP +Typically the AOT compiler (\fBmono --aot\fR) will not generate code +for generic instantiations. To solve this, you can run Mono with the +AOT profiler to find out all the generic instantiations that are used, +and then instructing the AOT compiler to produce code for these. +.PP +This command will run the specified app.exe and produce the +\fBout.aotprof\fR file with the data describing the generic +instantiations that are needed: +.nf + $ mono --profile=aot:output=out.aotprof app.exe +.fi +.PP +Once you have this data, you can pass this to Mono's AOT compiler to +instruct it to generate code for it: +.nf + $ mono --aot=profile=out.aotprof +.fi .SH DEBUGGING AIDS To debug managed applications, you can use the .B mdb