Created
August 9, 2009 21:40
-
-
Save methodmissing/164913 to your computer and use it in GitHub Desktop.
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 | |
| { | |
| printf("mmap(%p, %d, %d, %d, %d, %d)\n", arg0, arg1, arg2, arg3, arg4, arg5); | |
| } | |
| dtrace:::END | |
| { | |
| exit(0); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment