racket/racket/collects
Matthew Flatt 5a8a0aff02 db: fix finalization problems
A `this%` expression used in a finalization callback implicitly
referred to `this`, since it's a dynamic reference to the object's
class. As a result, the finalizer for `this` refers to `this`, so
`this` never becomes collectable. The problem is fixed by
lifting the `this%` out of the `lambda`.

Less significantly, the finalizer thread in "prepared.rkt" captured
various parameters on creation, including the current namespace. If a
prepared statement is bound to a module-level variable, then the
finalizer thread refers through the namespace to the prepared
statement, so the prepared statement can never be finalized. Setting
the current namespace to a fresh empty one while creating the thread
avoids that specific problem. (Other parameters could cause similar
problems, but solving the namespace one works well enough for now.)
2015-01-20 13:04:23 -07:00
..
acks Add Dr. Chang to acks. 2014-05-14 22:11:39 -04:00
compiler compiler/cm-accomplice: adjust protocol for extra options 2015-01-09 11:31:35 -07:00
data Fix bug with equal? on small bit-vectors. 2014-10-24 15:28:25 -04:00
db/private db: fix finalization problems 2015-01-20 13:04:23 -07:00
dynext Remove units in parts of compiler, dynext, setup and create the cext-lib package. 2013-09-26 14:53:51 -04:00
ffi optimizer: fix variable-reference-constant? on module-level identifier 2015-01-19 21:29:54 -07:00
file file/tar: add #:exists-ok? argument 2014-10-18 07:14:50 -05:00
info add "share", move "collects" back out of "lib", move "pkgs" 2013-07-19 11:52:02 -06:00
json Prevent irregular real numbers from being treated as valid JSON values. 2014-10-21 10:15:36 -06:00
launcher Windows installer: fix recording of document-icon paths 2014-02-27 15:56:11 -07:00
net net/http-client: add a #:method argument to http-conn-recv! 2014-12-12 09:28:49 -07:00
openssl openssl: disable old SSL protocols by default 2014-11-05 13:40:58 -05:00
pkg raco pkg: another attempt to fix git commands for an update 2015-01-16 09:28:31 -07:00
planet raco {pkg,planet}: exit with non-0 status for bad sub-command 2014-07-04 05:17:20 +01:00
racket Improve blame context message 2015-01-19 19:58:51 -06:00
raco move "props" test configs to test submodules or "info.rkt" files 2013-12-30 12:15:18 -07:00
reader/lang move "scheme" collection to a "scheme-lib" package 2013-08-27 15:19:24 -06:00
realm add "collects/realm/README.txt" 2013-08-27 18:00:58 -06:00
s-exp/lang add "share", move "collects" back out of "lib", move "pkgs" 2013-07-19 11:52:02 -06:00
setup repair for indrect dependencies 2015-01-09 11:31:35 -07:00
syntax syntax/parse: fix action patterns in splicing stxclass 2014-11-18 10:33:15 -05:00
unstable Adding things to unstable/error that are painful to remember and used everywhere 2014-06-02 18:31:31 -06:00
version move "scheme" collection to a "scheme-lib" package 2013-08-27 15:19:24 -06:00
xml changing valid char to XML 1.1 rather than 1.0 and reverting changes from recent PR 2014-05-09 10:39:35 -06:00
.gitignore add "share", move "collects" back out of "lib", move "pkgs" 2013-07-19 11:52:02 -06:00