[movitz-cvs] CVS update: movitz/losp/muerte/run-time-context.lisp
Frode Vatvedt Fjeld
ffjeld at common-lisp.net
Thu Jul 15 21:07:27 UTC 2004
Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv29355
Modified Files:
run-time-context.lisp
Log Message:
This rather substantial check-in is a clean-up of all things related
to dynamic memory allocation. In particular, the separation between
the muerte kernel with its 'default' memory management (which simply
allocates objects consecutively until it runs out) and the los0 GC
implementation is improved.
Date: Thu Jul 15 14:07:27 2004
Author: ffjeld
Index: movitz/losp/muerte/run-time-context.lisp
diff -u movitz/losp/muerte/run-time-context.lisp:1.8 movitz/losp/muerte/run-time-context.lisp:1.9
--- movitz/losp/muerte/run-time-context.lisp:1.8 Thu Jul 15 04:17:02 2004
+++ movitz/losp/muerte/run-time-context.lisp Thu Jul 15 14:07:27 2004
@@ -10,7 +10,7 @@
;;;; Author: Frode Vatvedt Fjeld <frodef at acm.org>
;;;; Created at: Wed Nov 12 18:33:02 2003
;;;;
-;;;; $Id: run-time-context.lisp,v 1.8 2004/07/15 11:17:02 ffjeld Exp $
+;;;; $Id: run-time-context.lisp,v 1.9 2004/07/15 21:07:27 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
@@ -132,8 +132,7 @@
(defun clone-run-time-context (&key (parent (current-run-time-context))
(name :anonymous))
(check-type parent run-time-context)
- (let ((context (inline-malloc #.(bt:sizeof 'movitz::movitz-constant-block)
- :other-tag :run-time-context)))
+ (let ((context (malloc-pointer-words #.(cl:truncate (bt:sizeof 'movitz::movitz-constant-block) 4))))
(memcopy context parent -6 0 0 #.(bt:sizeof 'movitz::movitz-constant-block)
:unsigned-byte8)
(setf (%run-time-context-slot 'name context) name
More information about the Movitz-cvs
mailing list