sbcl Log

Commit Date  
[abd7e1] (sbcl_1_0_47) by Juho Snellman Juho Snellman

1.0.47: Will be tagged as 1_0.47

2011-03-27 12:46:43 Tree
[d077b2] by Alastair Bridgewater Alastair Bridgewater room: Fix map-stack-references for stack-grows-upward systems.

* SAP+ is (function (system-area-pointer integer) (values

* SAP- is (function (system-area-pointer system-area-pointer) (values

* When negating the delta in a SAP+ operation, don't use SAP-.
Instead, negate the offset. Otherwise, you get a WARNING for passing an
integer where a system-area-pointer is expected.

2011-03-24 19:33:04 Tree
[6d36f2] by Cyrus Harmon Cyrus Harmon fix sb-introspect on non-threaded builds

* put #+sb-thread around calls inspecting sb-thread::%thread-local-references

2011-03-24 04:45:55 Tree
[85a570] by Nikodemus Siivola Nikodemus Siivola more on threads in SB-INTROSPECT:MAP-ROOT

* Thread local values: filter out invalid values correctly (oops),
also change SB-THREAD::%THREAD-LOCAL-REFERENCES to work on current
thread only.

* References from stack: SB-VM::MAP-STACK-REFERENCES walks the
current thread stack looking for things that look like references
to heap objects.

* MAP-ROOT interrupts the thread it wants to check out, unless it is
the current one -- a bit tacky, but seems preferable to stopping
the world.

2011-03-22 17:00:17 Tree
[d97e35] by Nikodemus Siivola Nikodemus Siivola double-check simple functions in looks_like_valid_lisp_pointer_p

* A function contained in a code object is always a simple function.
Make sure that we actually have one, instead of a random location
in the code object.

2011-03-22 16:49:33 Tree
[344a1f] by Nikodemus Siivola Nikodemus Siivola more comprehensive MAP-ROOT

* EXT defaults to T and provides:
** EQL specializers on the object
** symbol values in other threads
** MACRO-FUNCTION on symbols

* Threads map to thread-local values as well, courtesy of

* Don't report multiple references to the same object.

2011-03-20 18:37:55 Tree
[c5d726] by Nikodemus Siivola Nikodemus Siivola



2011-03-20 18:36:01 Tree
[c92ed9] by Nikodemus Siivola Nikodemus Siivola tad more information PACKAGE-LOCK-VIOLATION conditions

* Add the current *PACKAGE* when the error is signaled to the

definining its own FORMAT-CONTROL and FORMAT-ARGUMENTS slots.

2011-03-19 14:33:16 Tree
[0a8778] by Nikodemus Siivola Nikodemus Siivola SIMPLE-CONDITION slots are initialized with NIL if not supplied

So says CLHS.

When there is no format control and *PRINT-ESCAPE* is false,
signal an error.

2011-03-19 14:31:29 Tree
[9649ba] by Nikodemus Siivola Nikodemus Siivola par for course, committed the wrong version of MAP-ROOT as

This one actually works instead of having package errors.

2011-03-15 15:11:53 Tree
[b5f1bf] by Nikodemus Siivola Nikodemus Siivola first cut at MAP-ROOT

Walking references from an arbitrary lisp object.

2011-03-15 14:54:47 Tree
[3c5482] by Stas Boukarev Stas Boukarev Fix tests for builds without sb-eval.

Add #+sb-evel to cases which bind sb-ext:*evaluator-mode* to :interpret.

2011-03-12 21:29:37 Tree
[4d7b7a] by Alastair Bridgewater Alastair Bridgewater constraint: Don't substitute REFs when replacement LEAF is not visible.

* Bug reported by Frank Duncan, additional diagnosis by Heka Treep,
patch review and revision by Nikodemus Siivola.

* Introduce LEAF-VISIBLE-FROM-NODE-P, which verifies that the LEAF
about to be substituted is visible from the NODE to be modified.

* Add LEAF-VISIBLE-FROM-NODE-P as an additional precondition to
calling CHANGE-REF-LEAF, which does the actual substitution.

* And, for good measure, added a test to the test suite.

2011-03-11 15:35:30 Tree
[f2c2f0] by cracauer cracauer export sb-kernel::redefinition-with-defmacro

Export sb-kernel::redefinition-with-defmacro the same way we already
export sb-kernel:redefinition-with-defun and it's CLOS friends.

2011-03-08 23:21:14 Tree
[2c5a71] by Cyrus Harmon Cyrus Harmon clean up mach port deallocation on x86

* don't deallocate the exception_port port and check the return
values from deallocating the thread and task ports

2011-03-08 15:33:44 Tree
[fd290d] by Cyrus Harmon Cyrus Harmon don't deallocate exception_port and check return values from mach_port_deallocate calls

* mach_port_deallocate of the exception_port was returning
KERN_INVALID_RIGHT; assume this call was bogus and remove it. So
now we can be more strict about checking the return values of the
other deallocate calls.

2011-03-08 02:56:27 Tree
[2f7e72] by Cyrus Harmon Cyrus Harmon fix for darwin/x86

* default arch is now x86_64, so check for x86 and use arch i386 if

2011-03-08 01:44:41 Tree
[cbc0ad] by Cyrus Harmon Cyrus Harmon fix mach port leakage on x86 too

* call mach_port_deallocate on exception_port, thread and task at the
end of x86 version of catch_exception_raise

2011-03-08 01:41:25 Tree
[d3af55] by Cyrus Harmon Cyrus Harmon fix mach port leakage

* store mach_thread_self() results in current_mach_thread and
deallocate the mach_port after thread_set_exception_ports call

* fix error messages in lose strings in mach_thread_init

* catch_exception_raise now calls mach_port_deallocate for the
exception_port, the thread and the task

* These changes seem to get rid of most of the leaking port
rights. However, MachPortDump shows when running the
threads.impure.lisp tests, there are still a number of ports that
stick around with a single send right.

2011-03-08 00:55:10 Tree
[e8c80f] by Cyrus Harmon Cyrus Harmon mach-exception-handler improvement: current_mach_task

* define current_mach_task variable, squirrel away the value of
mach_task_self there and use that instead of calling mach_task_self
so that we don't leak send rights all over the place

2011-03-07 23:41:24 Tree
[4c8caa] by Cyrus Harmon Cyrus Harmon consolidate common code from x86-64-darwin-os.c and x86-darwin-os.c into darwin-os.c

* lots of code in x86-64-darwin-os.c and x86-darwin-os.c was
duplicated. consolidated into darwin-os.c and wrapped with
appropriate #ifdefs.

* darwin-os.c now #includes "thread.h" but not "bsd-os.h"

2011-03-07 23:14:01 Tree
[503ad9] by Nikodemus Siivola Nikodemus Siivola fix MAKE-INSTANCE regression from


We cannot use an optimized CTOR if there is an :AROUND method potentially
supplying initialization arguments via CALL-NEXT-METHOD.


* Add SIMPLE-NEXT-METHOD-CALL slot to STANDARD-METHOD: initialize it to T iff
the method doesn't use CALL-NEXT-METHOD at all, or only as

* Allow an optimized CTOR in the presence of INITIALIZE-INSTANCE :AROUND
methods iff those methods only contain simple forms of CALL-NEXT-METHOD.

2011-03-04 08:16:48 Tree
[f849f4] by jimwise jimwise fix an actual random bug in mkstemp test

On some platforms (including Solaris, FWIW), the character "." is one of
the characters mkstemp can use when filling in an "XXXXXX" template. When
this (randomly) occurs during the running of this test, PATHNAME-NAME, of
course breaks on the last such random "." character, and the test fails in
a way which will not repeat until the next time such a character is
randomly chosen.

Since readdir actually returns a string, break the string on the first "."
explicitly, instead of making a path from the string and calling

This will need to be revisited if we add mkstemp support on win32 in the

2011-03-03 20:01:37 Tree
[17c4e8] by jimwise jimwise fix sb-posix readdir on SunOS/x86

for the time being, disable :largefile on SunOS/x86. Unfortunately,
sb-grovel cannot navigate the somewhat sticky way in which struct
dirent gets setup for a 32-bit host with 64-bit ino_t on SunOS, so
sb-posix:readdir breaks

:largefile works fine on SunOS x86_64, and will be re-enabled on x86
after I get some more time to fight with the alien def for struct dirent

2011-03-03 19:50:21 Tree
[8e6218] by Nikodemus Siivola Nikodemus Siivola renaming oops in MAKE-PACKAGE

not updated -- but amusingly no error was signalled, because

* The form was that of a function call, so no program-error.

* Before the undefined function could be called, a non-local transfer always
took control elsewhere, so no undefined-function error.

2011-03-02 10:59:41 Tree
Older >

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks