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
66dedcc8
Commit
66dedcc8
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
FLushed world-load-init-function and made SAVE-LISP turn on GC, since
GC mustbe enabled before the init function is called.
parent
c405117e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/lispinit.lisp
+7
-11
7 additions, 11 deletions
code/lispinit.lisp
with
7 additions
and
11 deletions
code/lispinit.lisp
+
7
−
11
View file @
66dedcc8
...
...
@@ -882,6 +882,7 @@
#'
(
lambda
()
(
throw
'top-level-catcher
nil
)))
(
load-init-file
t
)
(
enable-gc
t
)
(
print-herald
t
)
(
process-command-line
t
))
"Saves a Spice Lisp core image in the file of the specified name. The
...
...
@@ -909,7 +910,10 @@
file is resumed.
:print-herald
If true, print out the lisp system herald when starting."
If true, print out the lisp system herald when starting.
:enable-gc
If true, turn GC on if it was off."
(
if
purify
(
purify
:root-structures
root-structures
)
...
...
@@ -937,6 +941,8 @@
"init"
)))
(
load
(
merge-pathnames
name
(
user-homedir-pathname
))
:if-does-not-exist
nil
))))
(
when
enable-gc
(
gc-on
))
(
when
print-herald
(
print-herald
))
(
when
process-command-line
...
...
@@ -945,16 +951,6 @@
(
funcall
init-function
)))
;;; WORLD-LOAD-INIT-FUNCTION -- Interface
;;;
;;; The init function we pass to SAVE-LISP in worldload. We turn on GC and
;;; thow to top level.
;;;
(
defun
world-load-init-function
()
(
gc-on
)
(
abort
))
;;; Quit gets us out, one way or another.
(
defun
quit
(
&optional
recklessly-p
)
...
...
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