![]() Allows an inaccessible custodian to be GCed, promoting any values that it manages to its parent custodian. Also repair memory accounting for custodian boxes. For values referenced by a custodian, the nature of the custodian's weak references is slightly different on Racket CS. The reference is weak enough that the value can be finalized via will (e.g., to close an unused port), but it's not weak enough to allow weak boxes, weak hash table keys, or ephemeron keys to be cleared. That's a consequence of using ordered finalization instead of finalization/weakness levels. This difference could be avoided at the cost of an extra wrapper for any finalized value and a discipline of using such wrappers as the user-visible reference for all custodian-managed values, but semi-weak references so far appear to be practical and a better compromise. |
||
---|---|---|
.github/ISSUE_TEMPLATE_DRAFT | ||
.gitlab | ||
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
.mailmap | ||
.travis.yml | ||
appveyor.yml | ||
azure-pipelines.yml | ||
INSTALL.txt | ||
Makefile | ||
README.md |
This is the source code for the core of Racket. See "INSTALL.txt" for full information on building Racket.
To build the full Racket distribution from this repository, run make
in the top-level directory. To build minimal Racket, run make base
.
The rest of the Racket distribution source code is in other repositories, mostly under the Racket GitHub organization.
Contribute to Racket by submitting a pull request, joining the development mailing list, or visiting the IRC channel.
License
Racket is distributed under the GNU Lesser General Public License (LGPL). This implies that you may link Racket into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify Racket; if you distribute a modified version, you must distribute it under the terms of the LGPL, which in particular states that you must release the source code for the modified software.
See racket/src/COPYING_LESSER.txt for more information.