This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
forked from FooBarWidget/rubyenterpriseedition187-248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fast-thread leak @ http://code.google.com/p/rubyenterpriseedition…
- Loading branch information
Showing
2 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
set -x | ||
|
||
set -e; make optflags='-DSTACK_FREE_SAFE_DEBUG=1' && sudo make install; set +e | ||
#set -e; make optflags='-DXXXSTACK_FREE_SAFE_DEBUG=1' && sudo make install; set +e | ||
PATH="/cnu/PACKAGES/ruby-ree-1.8.7-p253-thread-2-debian5/bin:$PATH" make test-all 2>&1 | tee log.txt | ||
|
||
grep 'calling stack_free' log.txt | wc -l | ||
grep 'calling stack_free' log.txt | grep stack_free_safe_all_dead_threads | wc -l |
This file contains 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