Nikodemus Siivola | 1 Apr 14:52 2010
Picon
Picon

CVS: sbcl NEWS, 1.1726, 1.1727 version.lisp-expr, 1.4813, 1.4814

Update of /cvsroot/sbcl/sbcl
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv6689

Modified Files:
	NEWS version.lisp-expr 
Log Message:
1.0.37.21: :AUTO-CLOSE and better FD-STREAM-NAME for socket streams

 Fixed launchpad bug #540413.

Index: NEWS
===================================================================
RCS file: /cvsroot/sbcl/sbcl/NEWS,v
retrieving revision 1.1726
retrieving revision 1.1727
diff -u -d -r1.1726 -r1.1727
--- NEWS	30 Mar 2010 10:46:43 -0000	1.1726
+++ NEWS	1 Apr 2010 12:52:04 -0000	1.1727
 <at>  <at>  -1,11 +1,11  <at>  <at> 
 ;;;; -*- coding: utf-8; fill-column: 78 -*-
 changes relative to sbcl-1.0.36:
+  * INCOMPATIBLE CHANGE: the SB-QUEUE contrib was merged into the
+    SB-CONCURRENCY contrib module.
   * new contrib: SB-CONCURRENCY is a new contrib; it's supposed to contain
     additional data structures and tools for concurrent programming; at the
     moment it contains a lock-free queue, and a lock-free mailbox
     implementation.
-  * deprecated contrib: the SB-QUEUE contrib was merged into the
-    SB-CONCURRENCY contrib and deprecated.
   * new feature: added SB-THREAD:TRY-SEMAPHORE, a non-blocking variant of
(Continue reading)

Nikodemus Siivola | 1 Apr 14:52 2010
Picon
Picon

CVS: sbcl/contrib/sb-bsd-sockets inet.lisp, 1.12, 1.13 local.lisp, 1.7, 1.8 sockets.lisp, 1.27, 1.28

Update of /cvsroot/sbcl/sbcl/contrib/sb-bsd-sockets
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv6689/contrib/sb-bsd-sockets

Modified Files:
	inet.lisp local.lisp sockets.lisp 
Log Message:
1.0.37.21: :AUTO-CLOSE and better FD-STREAM-NAME for socket streams

 Fixed launchpad bug #540413.

Index: inet.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/contrib/sb-bsd-sockets/inet.lisp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- inet.lisp	14 Mar 2008 20:41:26 -0000	1.12
+++ inet.lisp	1 Apr 2010 12:52:05 -0000	1.13
 <at>  <at>  -17,6 +17,16  <at>  <at> 
 ;;; XXX should we *...* this?
 (defparameter inet-address-any (vector 0 0 0 0))

+(defmethod socket-namestring ((socket inet-socket))
+  (ignore-errors
+    (multiple-value-bind (addr port) (socket-name socket)
+      (format nil "~{~A~^.~}:~A" (coerce addr 'list) port))))
+
+(defmethod socket-peerstring ((socket inet-socket))
+  (ignore-errors
+    (multiple-value-bind (addr port) (socket-peername socket)
(Continue reading)

Nikodemus Siivola | 1 Apr 19:36 2010
Picon
Picon

CVS: sbcl NEWS, 1.1727, 1.1728 version.lisp-expr, 1.4814, 1.4815

Update of /cvsroot/sbcl/sbcl
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv11301

Modified Files:
	NEWS version.lisp-expr 
Log Message:
1.0.37.22: SB-PROFILE improvements

 * More efficient counters: use CAS to increment the overflow, no need
   for a separate spinlock.

 * Current off-by-one in the event of counter-overflows.

 * Report per-function GC overhead. (patch by John Fremlin)

Index: NEWS
===================================================================
RCS file: /cvsroot/sbcl/sbcl/NEWS,v
retrieving revision 1.1727
retrieving revision 1.1728
diff -u -d -r1.1727 -r1.1728
--- NEWS	1 Apr 2010 12:52:04 -0000	1.1727
+++ NEWS	1 Apr 2010 17:36:02 -0000	1.1728
 <at>  <at>  -23,6 +23,11  <at>  <at> 
        SOCKET-PEERNAME.
     ** SOCKET-MAKE-STREAM once more supports the :AUTO-CLOSE option.
        (lp#540413)
+  * improvements to the instrumenting profiler
+    ** new feature: report per-function GC overhead. (thanks to John Fremlin)
+    ** optimization: counters no longer use locks for the overflow mode.
(Continue reading)

Nikodemus Siivola | 1 Apr 19:36 2010
Picon
Picon

CVS: sbcl/tests profile.impure.lisp,1.1,1.2

Update of /cvsroot/sbcl/sbcl/tests
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv11301/tests

Modified Files:
	profile.impure.lisp 
Log Message:
1.0.37.22: SB-PROFILE improvements

 * More efficient counters: use CAS to increment the overflow, no need
   for a separate spinlock.

 * Current off-by-one in the event of counter-overflows.

 * Report per-function GC overhead. (patch by John Fremlin)

Index: profile.impure.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/tests/profile.impure.lisp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- profile.impure.lisp	22 Jun 2009 16:06:23 -0000	1.1
+++ profile.impure.lisp	1 Apr 2010 17:36:03 -0000	1.2
 <at>  <at>  -89,3 +89,16  <at>  <at> 
     (unless (equal res want)
       (error "wanted ~S, got ~S" want res)))
   (report))
+
+(with-test (:name :profiling-counter)
+  ;; Make sure our profiling counters don't miscount
(Continue reading)

Nikodemus Siivola | 1 Apr 19:36 2010
Picon
Picon

CVS: sbcl/src/code profile.lisp,1.40,1.41

Update of /cvsroot/sbcl/sbcl/src/code
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv11301/src/code

Modified Files:
	profile.lisp 
Log Message:
1.0.37.22: SB-PROFILE improvements

 * More efficient counters: use CAS to increment the overflow, no need
   for a separate spinlock.

 * Current off-by-one in the event of counter-overflows.

 * Report per-function GC overhead. (patch by John Fremlin)

Index: profile.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/code/profile.lisp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- profile.lisp	22 Jun 2009 16:06:22 -0000	1.40
+++ profile.lisp	1 Apr 2010 17:36:03 -0000	1.41
 <at>  <at>  -18,39 +18,46  <at>  <at> 
 (defconstant +most-positive-word+ (1- (expt 2 sb-vm:n-word-bits)))

 (declaim (inline make-counter))
-(defstruct (counter (:copier nil))
-  (count 0 :type sb-vm:word)
-  (overflow 0 :type unsigned-byte)
(Continue reading)

Nikodemus Siivola | 2 Apr 17:34 2010
Picon
Picon

CVS: sbcl/src/code profile.lisp,1.41,1.42

Update of /cvsroot/sbcl/sbcl/src/code
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv5560/src/code

Modified Files:
	profile.lisp 
Log Message:
1.0.37.23: saner SB-PROFILE::COUNTER-COUNT handling

 * Each overflow accounts for (1+ +MOST-POSITIVE-WORD+) instead of
   +MOST-POSITIVE-WORD+, just like in

     0x01 + [0x00,0xff] = [0x01,0x00]

   ...one less ATOMIC-INCF needed for the overflow case.

Index: profile.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/code/profile.lisp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- profile.lisp	1 Apr 2010 17:36:03 -0000	1.41
+++ profile.lisp	2 Apr 2010 15:34:56 -0000	1.42
 <at>  <at>  -37,11 +37,10  <at>  <at> 
                ;; overflow.
                (let ((prev (atomic-incf (counter-word counter) d)))
                  (when (< (logand +most-positive-word+ (+ prev d)) prev)
-                   (%incf-overflow)
-                   (atomic-incf (counter-word counter))))))
+                   (%incf-overflow)))))
(Continue reading)

Nikodemus Siivola | 2 Apr 17:34 2010
Picon
Picon

CVS: sbcl version.lisp-expr,1.4815,1.4816

Update of /cvsroot/sbcl/sbcl
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv5560

Modified Files:
	version.lisp-expr 
Log Message:
1.0.37.23: saner SB-PROFILE::COUNTER-COUNT handling

 * Each overflow accounts for (1+ +MOST-POSITIVE-WORD+) instead of
   +MOST-POSITIVE-WORD+, just like in

     0x01 + [0x00,0xff] = [0x01,0x00]

   ...one less ATOMIC-INCF needed for the overflow case.

Index: version.lisp-expr
===================================================================
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.4815
retrieving revision 1.4816
diff -u -d -r1.4815 -r1.4816
--- version.lisp-expr	1 Apr 2010 17:36:02 -0000	1.4815
+++ version.lisp-expr	2 Apr 2010 15:34:56 -0000	1.4816
 <at>  <at>  -17,4 +17,4  <at>  <at> 
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.37.22"
+"1.0.37.23"

(Continue reading)

Alastair Bridgewater | 3 Apr 02:38 2010
Picon
Picon

CVS: sbcl version.lisp-expr,1.4816,1.4817

Update of /cvsroot/sbcl/sbcl
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv9869

Modified Files:
	version.lisp-expr 
Log Message:
1.0.37.24: Genesis deFIXMEification: Symbol allocation gspace.

  * Removed *cold-symbol-allocation-gspace*

  * Added keyword argument for allocation gspace to allocate-symbol.

  * Added keyword argument for allocation space to cold-intern, changing
optional package argument to be a keyword argument as well.

  * Changed initialize-non-nil-symbols to pass explicit gspace arguments
to cold-intern instead of using *cold-symbol-allocation-gspace*.

  * Fixed the one use of the package argument to cold-intern for the
keyword-argument version.

Index: version.lisp-expr
===================================================================
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.4816
retrieving revision 1.4817
diff -u -d -r1.4816 -r1.4817
--- version.lisp-expr	2 Apr 2010 15:34:56 -0000	1.4816
+++ version.lisp-expr	3 Apr 2010 00:38:18 -0000	1.4817
 <at>  <at>  -17,4 +17,4  <at>  <at> 
(Continue reading)

Alastair Bridgewater | 3 Apr 02:38 2010
Picon
Picon

CVS: sbcl/src/compiler/generic genesis.lisp, 1.157, 1.158

Update of /cvsroot/sbcl/sbcl/src/compiler/generic
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv9869/src/compiler/generic

Modified Files:
	genesis.lisp 
Log Message:
1.0.37.24: Genesis deFIXMEification: Symbol allocation gspace.

  * Removed *cold-symbol-allocation-gspace*

  * Added keyword argument for allocation gspace to allocate-symbol.

  * Added keyword argument for allocation space to cold-intern, changing
optional package argument to be a keyword argument as well.

  * Changed initialize-non-nil-symbols to pass explicit gspace arguments
to cold-intern instead of using *cold-symbol-allocation-gspace*.

  * Fixed the one use of the package argument to cold-intern for the
keyword-argument version.

Index: genesis.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/compiler/generic/genesis.lisp,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -d -r1.157 -r1.158
--- genesis.lisp	21 Dec 2009 16:30:09 -0000	1.157
+++ genesis.lisp	3 Apr 2010 00:38:19 -0000	1.158
 <at>  <at>  -810,14 +810,10  <at>  <at> 
(Continue reading)

Alastair Bridgewater | 3 Apr 02:39 2010
Picon
Picon

CVS: sbcl version.lisp-expr,1.4817,1.4818

Update of /cvsroot/sbcl/sbcl
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv10104

Modified Files:
	version.lisp-expr 
Log Message:
1.0.37.25: Defer interning symbols to cold-core as long as possible.

 * Don't cold-intern symbols in cold-load-symbol.

 * Use host symbols NIL and T for fop-empty-list and fop-truth.

 * Do cold-intern symbols-as-value in write-wordindexed.

 * Warm-fun-name of a symbol is the symbol itself, modulo uncrossing
packages (SB-XC -> COMMON-LISP).

 * Type declaration fixups to allow passing symbols as well as
descriptors in some places.

Index: version.lisp-expr
===================================================================
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.4817
retrieving revision 1.4818
diff -u -d -r1.4817 -r1.4818
--- version.lisp-expr	3 Apr 2010 00:38:18 -0000	1.4817
+++ version.lisp-expr	3 Apr 2010 00:39:25 -0000	1.4818
 <at>  <at>  -17,4 +17,4  <at>  <at> 
 ;;; checkins which aren't released. (And occasionally for internal
(Continue reading)


Gmane