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
a76b7b5a
Commit
a76b7b5a
authored
31 years ago
by
hallgren
Browse files
Options
Downloads
Patches
Plain Diff
Flush the icache in TRANS_CODE so genesis works when it gc's. Change two
ifndef MACH's to ifdef SUNOS.
parent
b926a238
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
lisp/gc.c
+7
-3
7 additions, 3 deletions
lisp/gc.c
with
7 additions
and
3 deletions
lisp/gc.c
+
7
−
3
View file @
a76b7b5a
/*
* Stop and Copy GC based on Cheney's algorithm.
*
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/gc.c,v 1.
5
1993/0
2
/2
6 09:02:03 ram
Exp $
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/gc.c,v 1.
6
1993/0
7
/2
7 15:00:59 hallgren
Exp $
*
* Written by Christopher Hoover.
*/
...
...
@@ -671,6 +671,10 @@ trans_code(struct code *code)
prev_pointer
=
&
nfheaderp
->
next
;
}
#ifdef hpux
os_flush_icache
((
os_vm_address_t
)
(((
int
*
)
new_code
)
+
nheader_words
),
ncode_words
*
sizeof
(
int
));
#endif
return
new_code
;
}
...
...
@@ -1823,7 +1827,7 @@ void set_auto_gc_trigger(os_vm_size_t dynamic_usage)
addr
=
os_round_up_to_page
(
addr
);
length
=
os_trunc_size_to_page
(
length
);
#if
n
def
MACH
#ifdef
SUNOS
os_invalidate
(
addr
,
length
);
#else
os_protect
(
addr
,
length
,
0
);
...
...
@@ -1835,7 +1839,7 @@ void set_auto_gc_trigger(os_vm_size_t dynamic_usage)
void
clear_auto_gc_trigger
(
void
)
{
if
(
current_auto_gc_trigger
!=
NULL
){
#if
n
def
MACH
/* don't want to force whole space into swapping mode... */
#ifdef
SUNOS
/* don't want to force whole space into swapping mode... */
os_vm_address_t
addr
=
(
os_vm_address_t
)
current_auto_gc_trigger
;
os_vm_size_t
length
=
DYNAMIC_SPACE_SIZE
+
(
os_vm_address_t
)
current_dynamic_space
-
addr
;
...
...
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