Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
bbec323a
Commit
bbec323a
authored
27 years ago
by
dtc
Browse files
Options
Downloads
Patches
Plain Diff
Clarify the usage of loading native code into the dynamic space on the
x86 port under CGC and GENCGC.
parent
3763e634
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/worldload.lisp
+21
-4
21 additions, 4 deletions
tools/worldload.lisp
with
21 additions
and
4 deletions
tools/worldload.lisp
+
21
−
4
View file @
bbec323a
...
...
@@ -6,7 +6,7 @@
;;; If you want to use this code or any part of CMU Common Lisp, please contact
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/worldload.lisp,v 1.8
3
1997/11/2
5 18:58:2
4 dtc Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/worldload.lisp,v 1.8
4
1997/11/2
7 02:02:1
4 dtc Exp $
;;;
;;; **********************************************************************
;;;
...
...
@@ -18,10 +18,19 @@
(
in-package
"LISP"
)
;;; Uncomment for GENCGC.
;(setf *load-x86-tlf-to-dynamic-space* t) ; potentially dangerous.
;;; Since it is unlikely that native code top-level forms are moved
;;; before being executed during worldload it is probably safe to load
;;; these into the dynamic space under CGC even without enabling
;;; dynamic space code above.
;(setf *load-x86-tlf-to-dynamic-space* t)
;;; Purify and GENCGC can move native code so all code can be loading
;;; into the dynamic space during worldload; overrides the above when
;;; enabled. Enable this for GENCGC. May also be safe with CGC but
;;; untested.
;(setf cl::*enable-dynamic-space-code* t)
;;; Get some data on this core.
;;;
(
write-string
"What is the current lisp-implementation-version? "
)
...
...
@@ -199,8 +208,16 @@
#-
gengc
(
gc-on
)
(
setf
*gc-run-time*
0
)
#+
x86
(
setf
*load-x86-tlf-to-dynamic-space*
nil
)
; potentially dangerous.
;; Disable the loading of native code top level forms into the
;; dynamic space under CGC as it is potentially dangerous if a
;; native code top level form is executed after being moved without
;; fixups.
#+
x86
(
setf
*load-x86-tlf-to-dynamic-space*
nil
)
;;; GENCGC can move native code so all code can be loaded into the
;;; dynamic space; overrides the above when enabled.
#+
gencgc
(
setf
cl::*enable-dynamic-space-code*
t
)
;;; Reset the counter of the number of native code fixups.
#+
x86
(
setf
x86::*num-fixups*
0
)
;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment