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
[joe@sloth:/home/joe/code/small_malloc/bsdmalloc]% LD_PRELOAD=/home/joe/code/small_malloc/bsdmalloc/libbsdmalloc.so.1.0.1 /usr/bin/time ./a.out | |
22.42user 0.01system 0:22.48elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k | |
0inputs+0outputs (0major+138minor)pagefaults 0swaps | |
[joe@sloth:/home/joe/code/small_malloc/bsdmalloc]% LD_PRELOAD=/custom/lib/libtcmalloc_minimal.so.0.0.0 /usr/bin/time ./a.out | |
36.89user 0.02system 0:37.00elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k | |
0inputs+0outputs (0major+1530minor)pagefaults 0swaps | |
[joe@sloth:/home/joe/code/small_malloc/bsdmalloc]% /usr/bin/time ./a.out |
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
commit 2ec0bd00031a777237a24b7cd6a06b0f7f007430 | |
Author: Joe Damato <[email protected]> | |
Date: Wed Nov 18 16:22:06 2009 -0800 | |
add malloc_usable_size | |
diff --git a/configure.ac b/configure.ac | |
index 9db399a..12cc585 100644 | |
--- a/configure.ac | |
+++ b/configure.ac |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/mman.h> | |
int rb_new_obj() { | |
printf("hi\n"); | |
exit(1); | |
} |
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
#define _GNU_SOURCE | |
#include <err.h> | |
#include <fcntl.h> | |
#include <gelf.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <link.h> | |
#include <sysexits.h> |
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
irb(main):021:0> Time.now.zone | |
=> "UTC" | |
irb(main):022:0> Time.now.utc? | |
=> false | |
### and also: | |
irb(main):005:0> Time.now.iso8601 | |
=> "2010-03-31T23:46:20+00:00" |
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
James Damato • (973) 634-2031 • [email protected] | |
PROFESSIONAL EXPERIENCE | |
KPMG, Montvale, NJ 8/09 – Present | |
Research Associate – Global Risk Management | |
• Download Issuer and Securities data files daily, perform quality check to confirm file validity, | |
and post to local applications for data refresh | |
• Download Cognos reports weekly to assist with HR and Compliance Report creation process | |
• Perform data file retrieval tasks and execute programs to create daily identifier change reports | |
• Compile data from vendor web and place data files in established location for refresh of the |
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
2010-05-11 Joe Damato <[email protected]> | |
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Save and | |
restore SSE registers. | |
--- | |
sysdeps/x86_64/dl-trampoline.S | 34 +++++++++++++++++++++++++++------- | |
1 files changed, 27 insertions(+), 7 deletions(-) | |
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S | |
index 5564a11..44706d9 100644 |
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
_dl_runtime_resolve: | |
subq $56,%rsp | |
cfi_adjust_cfa_offset(72) # Incorporate PLT | |
movq %rax,(%rsp) # Preserve registers otherwise clobbered. | |
movq %rcx, 8(%rsp) | |
movq %rdx, 16(%rsp) | |
movq %rsi, 24(%rsp) | |
movq %rdi, 32(%rsp) | |
movq %r8, 40(%rsp) | |
movq %r9, 48(%rsp) |
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
_dl_runtime_resolve: | |
subq $56,%rsp | |
cfi_adjust_cfa_offset(72) # Incorporate PLT | |
movq %rax,(%rsp) # Preserve registers otherwise clobbered. | |
movq %rcx, 8(%rsp) | |
movq %rdx, 16(%rsp) | |
movq %rsi, 24(%rsp) | |
movq %rdi, 32(%rsp) | |
movq %r8, 40(%rsp) | |
movq %r9, 48(%rsp) |
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
_dl_runtime_resolve: | |
subq $56,%rsp | |
cfi_adjust_cfa_offset(72) # Incorporate PLT | |
movq %rax,(%rsp) # Preserve registers otherwise clobbered. | |
movq %rcx, 8(%rsp) | |
movq %rdx, 16(%rsp) | |
movq %rsi, 24(%rsp) | |
movq %rdi, 32(%rsp) | |
movq %r8, 40(%rsp) | |
movq %r9, 48(%rsp) |