Author: zoltan
Date: 2007-03-07 07:38:12 -0500 (Wed, 07 Mar 2007)
New Revision: 73880

Modified:
   trunk/mono/ChangeLog
   trunk/mono/docs/aot-compiler.txt
Log:
2007-03-07  Zoltan Varga  <[EMAIL PROTECTED]>

        * docs/aot-compiler.txt: Update a bit to reflect recent changes.


Modified: trunk/mono/ChangeLog
===================================================================
--- trunk/mono/ChangeLog        2007-03-07 12:03:37 UTC (rev 73879)
+++ trunk/mono/ChangeLog        2007-03-07 12:38:12 UTC (rev 73880)
@@ -1,3 +1,7 @@
+2007-03-07  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * docs/aot-compiler.txt: Update a bit to reflect recent changes.
+
 2007-02-24  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * data/config.in (odbc32.dll) [os=osx]: Fix misplaced ".

Modified: trunk/mono/docs/aot-compiler.txt
===================================================================
--- trunk/mono/docs/aot-compiler.txt    2007-03-07 12:03:37 UTC (rev 73879)
+++ trunk/mono/docs/aot-compiler.txt    2007-03-07 12:38:12 UTC (rev 73880)
@@ -14,6 +14,19 @@
        assembly, while the -O=all flag instructs Mono to use all the
        available optimizations.
 
+* Caching metadata
+------------------
+
+       Besides code, the AOT file also contains cached metadata information 
which allows
+       the runtime to avoid certain computations at runtime, like the 
computation of
+       generic vtables. This reduces both startup time, and memory usage. It 
is possible
+       to create an AOT image which contains only this cached information and 
no code by
+       using the 'metadata-only' option during compilation:
+
+          mono --aot=metadata-only assembly.exe
+
+       This works even on platforms where AOT is not normally supported.
+
 * Position Independent Code
 ---------------------------
 
@@ -125,10 +138,44 @@
        
                        A list of assemblies referenced by this AOT
                        module.
-       
+
+               methods
+                       
+                       The precompiled code itself.
+                       
                method_offsets
        
-                       The equivalent to a procedure linkage table. 
+                       Maps method indexes to offsets in the methods array.
+
+               ex_info
+
+                       Contains information about methods which is rarely used 
during normal execution, 
+                       like exception and debug info.
+
+               ex_info_offsets
+
+                       Maps method indexes to offsets in the ex_info array.
+
+               class_info
+
+                       Contains precomputed metadata used to speed up various 
runtime functions.
+
+               class_info_offsets
+
+                       Maps class indexes to offsets in the class_info array.
+
+               class_name_table
+
+                       A hash table mapping class names to class indexes. Used 
to speed up 
+                       mono_class_from_name ().
+
+               plt
+
+                       The Program Linkage Table
+
+               plt_info
+
+                       Contains information needed to find the method 
belonging to a given PLT entry.
        
 * Performance considerations
 ----------------------------

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to