racket/collects/tests
Matthew Flatt ec27cbfd90 fix problems related to futures and is-list flags on pairs
Although a future thread used an atomic compare-and-swap to
set "is a list" or "not a list" flag on pairs via the
JIT-implemented `list?', the hashing function in the runtime
thread did not; as a result, it might be possible to lose
a hash code due to cache inconsistency (although I'm not
sure it's actually possible, and I couldn't trigger a problem
with a test). Most of the changes are related to using
an atomic compare-and-swap when setting a hash code, as
well as clean-ups to related code. Processor-count tests
avoid using atomic compare-and-swap on uniprocessors, which
might not support the relevant machine instructions.

As significantly, the compare-and-swap operation for the
JIT-implemented `list?' did not actually set flags on
a pair that has a hash code. This could lead to `list?'
tests that were not constant time (but only if the relevant
pair's `eq?' hash code had been used previously).
2011-07-31 04:43:24 -06:00
..
aligned-pasteboard
compiler
data
datalog Adding serialization of theories 2011-07-26 08:22:19 -04:00
deinprogramm
drracket don't compile test file with image constant 2011-07-16 19:29:35 -06:00
errortrace fix errortrace 2011-07-15 20:17:44 -06:00
file
framework
frtime
future fix problems related to futures and is-list flags on pairs 2011-07-31 04:43:24 -06:00
gracket
honu add printf. recognize strings as atoms 2011-07-22 14:43:45 -04:00
htdp-lang Undoes the 'produces -> return' part of commit c31d352f, keeping the 'changes -> mutates' change and the assorted bug fixes it contained. 2011-07-17 16:48:12 -04:00
html
jpr
lazy
macro-debugger macro-stepper: update tests 2011-07-18 09:01:26 -06:00
match
mysterx
mzcom
net
openssl
plai
planet completed the planet library documentation and, in the process, 2011-07-08 15:51:05 -05:00
plot
profile
r6rs
racket add for/sum', for/product', etc. 2011-07-27 05:47:46 +01:00
racklog
rackunit
scribble
scriblib
slatex
srfi
srpersist
stepper minor testing changes 2011-07-28 22:51:00 -04:00
stxparse
syntax
syntax-color
test-engine
typed-scheme Add for*/sum: and for*/product: to TR. 2011-07-29 12:54:29 -04:00
units For lack of a colon, unit tests were failed. 2011-07-19 08:25:42 -04:00
unstable Add a lower-level interface to unstable/logging. 2011-07-21 17:06:03 -04:00
utils
web-server Repairing tests 2011-07-24 16:58:59 -04:00
xml Adding documentation and tests for xml/path 2011-07-24 16:58:59 -04:00
xrepl xrepl improvments: 2011-07-29 07:29:29 -04:00
eli-tester.rkt
info.rkt
run-automated-tests.rkt
stress.rkt
zo-size.rkt