This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static int | |
| rb_const_defined_0(klass, id, exclude, recurse) | |
| VALUE klass; | |
| ID id; | |
| int exclude, recurse; | |
| { | |
| VALUE value, tmp; | |
| int mod_retry = 0; | |
| tmp = klass; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static long | |
| io_fread(ptr, len, fptr) | |
| char *ptr; | |
| long len; | |
| OpenFile *fptr; | |
| { | |
| long n = len; | |
| int c; | |
| int saved_errno; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| methodmissing:dtrace lourens$ sudo dtrace -Zs mmap.d -c 'jruby test.rb' | |
| C | |
| mmap(0, 16777216, 3, 4098, 33554432, 0) | |
| mmap(0, 81920, 3, 4098, 50331648, 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/sbin/dtrace -Zs | |
| /* | |
| JVM startup memory allocation with the PID provider | |
| (c) 2009 Lourens Naudé (methodmissing) */ | |
| #pragma D option quiet | |
| pid$target::mmap:entry | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -> malloc_zone_malloc() | |
| <- malloc_zone_malloc() | |
| -> malloc() | |
| <- malloc() | |
| -> strcpy() | |
| <- strcpy() | |
| -> strlen() | |
| <- strlen() | |
| -> tiny_malloc_from_free_list() | |
| <- tiny_malloc_from_free_list() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <- ImageLoaderMachO::usesTwoLevelNameSpace() const() | |
| -> strcmp() | |
| <- strcmp() | |
| -> strcmp() | |
| <- strcmp() | |
| -> strcmp() | |
| <- strcmp() | |
| -> strcmp() | |
| <- strcmp() | |
| -> strcmp() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/sbin/dtrace -Zs | |
| /* | |
| sudo dtrace -Zs walk.d -c 'ruby test.rb' | |
| */ | |
| #pragma D option quiet | |
| #pragma D option switchrate=10 | |
| #pragma D option dynvarsize=128m | |
| #pragma D option bufsize=128m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| methodmissing:extlib lourens$ jruby -v | |
| jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 2fd6c3d) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_13) [x86_64-java] | |
| methodmissing:extlib lourens$ sudo dtrace -s memory.d -c 'jruby -S rake' | |
| (in /Users/lourens/projects/extlib) | |
| .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| methodmissing:extlib lourens$ ruby -v | |
| ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0] | |
| methodmissing:extlib lourens$ sudo dtrace -s memory.d -c 'rake' | |
| (in /Users/lourens/projects/extlib) | |
| ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| methodmissing:projects lourens$ ruby -v | |
| ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.5.1] | |
| methodmissing:extlib lourens$ sudo dtrace -s memory.d -c 'rake' | |
| (in /Users/lourens/projects/extlib) | |
| rm -r coverage | |
| ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... |