[sgen] Make los usage of size_t cosnsitent.
[mono.git] / mono / metadata / metadata-internals.h
index 53ff05e493c2c2c8956a0e5d42c49f7b00f94e4f..618fd5b59d52a7487fe1b0798397971c06a119bf 100644 (file)
@@ -224,7 +224,7 @@ struct _MonoImage {
        /*
         * Indexed by fielddef and memberref tokens
         */
-       GHashTable *field_cache;
+       GHashTable *field_cache; /*protected by the image lock*/
 
        /* indexed by typespec tokens. */
        GHashTable *typespec_cache;
@@ -323,6 +323,7 @@ struct _MonoImage {
        GSList *reflection_info_unregister_classes;
 
        /* List of image sets containing this image */
+       /* Protected by image_sets_lock */
        GSList *image_sets;
 
        /* Caches for MonoClass-es representing anon generic params */