Skip to content
Snippets Groups Projects
Commit 7d0038c6 authored by wlott's avatar wlott
Browse files

Removed the call to os_flush_icache because it is unnecessary and it

didn't work on older kernels.
parent c81bfaa0
No related branches found
No related tags found
No related merge requests found
/* /*
* Stop and Copy GC based on Cheney's algorithm. * Stop and Copy GC based on Cheney's algorithm.
* *
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/gc.c,v 1.25 1991/02/16 01:00:04 wlott Exp $ * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/gc.c,v 1.26 1991/03/23 14:45:15 wlott Exp $
* *
* Written by Christopher Hoover. * Written by Christopher Hoover.
*/ */
...@@ -264,14 +264,6 @@ collect_garbage() ...@@ -264,14 +264,6 @@ collect_garbage()
#endif #endif
size_retained = (new_space_free_pointer - new_space) * sizeof(lispobj); size_retained = (new_space_free_pointer - new_space) * sizeof(lispobj);
/* Flush the icache. */
#ifdef PRINTNOISE
printf("Flushing instruction cache ...\n");
#endif
os_flush_icache((os_vm_address_t) new_space,
(os_vm_size_t) size_retained);
/* Zero stack. */ /* Zero stack. */
#ifdef PRINTNOISE #ifdef PRINTNOISE
printf("Zeroing empty part of control stack ...\n"); printf("Zeroing empty part of control stack ...\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment