Browse files

[dtrace] Turns out "sweeped" is not a word.

  • Loading branch information...
1 parent c0b840c commit 77ac49c17fbed60cc742b2afc050d8857919817a @schani schani committed Sep 29, 2012
Showing with 8 additions and 8 deletions.
  1. +2 −2 data/mono.d
  2. +1 −1 mono/metadata/sgen-marksweep.c
  3. +1 −1 mono/metadata/sgen-nursery-allocator.c
  4. +4 −4 mono/utils/dtrace.h
View
4 data/mono.d
@@ -36,8 +36,8 @@ provider mono {
/* Can be nursery->nursery, nursery->major or major->major */
probe gc__obj__moved (uintptr_t dest, uintptr_t src, int dest_gen, int src_gen, uintptr_t size, char *ns_name, char *class_name);
- probe gc__nursery__sweeped (uintptr_t addr, uintptr_t len);
- probe gc__major__sweeped (uintptr_t addr, uintptr_t len);
+ probe gc__nursery__swept (uintptr_t addr, uintptr_t len);
+ probe gc__major__swept (uintptr_t addr, uintptr_t len);
probe gc__obj__pinned (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name, int generation);
};
View
2 mono/metadata/sgen-marksweep.c
@@ -1467,7 +1467,7 @@ ms_sweep (void)
* will also benefit?
*/
binary_protocol_empty (obj, block->obj_size);
- MONO_GC_MAJOR_SWEEPED ((mword)obj, block->obj_size);
+ MONO_GC_MAJOR_SWEPT ((mword)obj, block->obj_size);
memset (obj, 0, block->obj_size);
}
*(void**)obj = block->free_list;
View
2 mono/metadata/sgen-nursery-allocator.c
@@ -712,7 +712,7 @@ add_nursery_frag (SgenFragmentAllocator *allocator, size_t frag_size, char* frag
{
DEBUG (4, fprintf (gc_debug_file, "Found empty fragment: %p-%p, size: %zd\n", frag_start, frag_end, frag_size));
binary_protocol_empty (frag_start, frag_size);
- MONO_GC_NURSERY_SWEEPED ((mword)frag_start, frag_end - frag_start);
+ MONO_GC_NURSERY_SWEPT ((mword)frag_start, frag_end - frag_start);
/* Not worth dealing with smaller fragments: need to tune */
if (frag_size >= SGEN_MAX_NURSERY_WASTE) {
/* memsetting just the first chunk start is bound to provide better cache locality */
View
8 mono/utils/dtrace.h
@@ -86,11 +86,11 @@
#define MONO_GC_OBJ_MOVED_ENABLED() (0)
-#define MONO_GC_NURSERY_SWEEPED(addr,len)
-#define MONO_GC_NURSERY_SWEEPED_ENABLED() (0)
+#define MONO_GC_NURSERY_SWEPT(addr,len)
+#define MONO_GC_NURSERY_SWEPT_ENABLED() (0)
-#define MONO_GC_MAJOR_SWEEPED(addr,len)
-#define MONO_GC_MAJOR_SWEEPED_ENABLED() (0)
+#define MONO_GC_MAJOR_SWEPT(addr,len)
+#define MONO_GC_MAJOR_SWEPT_ENABLED() (0)
#define MONO_GC_OBJ_PINNED(addr,size,ns_name,class_name,generation)

0 comments on commit 77ac49c

Please sign in to comment.