[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-commits
Subject:    [Sbcl-commits] master: Begrudgingly disable interpreter for self-build
From:       Douglas Katzman via Sbcl-commits <sbcl-commits () lists ! sourceforge ! net>
Date:       2020-05-31 19:43:07
Message-ID: 1590954187.166939.5762 () sfp-scm-2 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]

The branch "master" has been updated in SBCL:
       via  dbeea959e4dbb3ceb6d734eef4331d5c8d348373 (commit)
      from  e5d7dec11d4fe588155c6174785e1a32c468d63a (commit)

- Log -----------------------------------------------------------------
commit dbeea959e4dbb3ceb6d734eef4331d5c8d348373
Author: Douglas Katzman <dougk@google.com>
Date:   Sun May 31 12:59:20 2020 -0400

    Begrudgingly disable interpreter for self-build
    
    *EVALUATOR-MODE* has been present since 2006, so no problem to use it.
    
    But I do not understand how 1000 files are OK in my application, while
    SBCL's ~300 are not. Probably the compilation unit sizes vastly differ.
---
 src/cold/compile-cold-sbcl.lisp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/cold/compile-cold-sbcl.lisp b/src/cold/compile-cold-sbcl.lisp
index 9ff4482b2..4880c1eff 100644
--- a/src/cold/compile-cold-sbcl.lisp
+++ b/src/cold/compile-cold-sbcl.lisp
@@ -186,6 +186,10 @@
                           (get-stems-and-flags 2)))
                (n 0)
                (sb-xc:*compile-verbose* nil))
+           ;; Workaround memory exhaustion in SB-FASTEVAL.
+           ;; In SB-EVAL the default evaluator-mode is :compile,
+           ;; but it also would exhaust memory if interpreting.
+           #+sbcl (setq host-sb-ext:*evaluator-mode* :compile)
            (with-math-journal
             (do-stems-and-flags (stem flags 2)
               (unless (position :not-target flags)

-----------------------------------------------------------------------


hooks/post-receive
-- 
SBCL


_______________________________________________
Sbcl-commits mailing list
Sbcl-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic