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

1.0.46.44: room: Fix map-stack-references for stack-grows-upward systems.

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

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

* 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

1.0.46.43: 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

1.0.46.42: 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

1.0.46.41: 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

1.0.46.40: 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
SB-THREAD::%THREAD-LOCAL-VALUES.

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

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

get rid of *EQL-SPECIALIZER-TABLE-LOCK*

Use WITH-LOCKED-HASH-TABLE instead.

2011-03-20 18:36:01 Tree
[c92ed9] by Nikodemus Siivola Nikodemus Siivola

1.0.46.38: tad more information PACKAGE-LOCK-VIOLATION conditions

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

* Now that SIMPLE-CONDITION :FORMAT-CONTROL defaults to NIL,
PACKAGE-LOCK-VIOLATION can inherit from SIMPLE-CONDITION instead of
definining its own FORMAT-CONTROL and FORMAT-ARGUMENTS slots.

2011-03-19 14:33:16 Tree
[0a8778] by Nikodemus Siivola Nikodemus Siivola

1.0.46.37: 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

1.0.46.36: par for course, committed the wrong version of MAP-ROOT as 1.0.46.35

This one actually works instead of having package errors.

2011-03-15 15:11:53 Tree
[b5f1bf] by Nikodemus Siivola Nikodemus Siivola

1.0.46.35: 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

1.0.46.34: 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

1.0.46.33: 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

1.0.46.32: 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

1.0.46.31: 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

1.0.46.30: 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

1.0.46.29: fix run-compiler.sh for darwin/x86

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

2011-03-08 01:44:41 Tree
[cbc0ad] by Cyrus Harmon Cyrus Harmon

1.0.46.28: 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

1.0.46.27: 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

1.0.46.26: 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

1.0.46.25: 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

1.0.46.24: fix MAKE-INSTANCE regression from 1.0.45.19

lp#728650

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

So:

* 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
(CALL-NEXT-METHOD).

* 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

1.0.46.23: 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
pathname-name.

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

2011-03-03 20:01:37 Tree
[17c4e8] by jimwise jimwise

1.0.46.22: 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

1.0.46.21: renaming oops in MAKE-PACKAGE

When WITH-PACKAGES was renamed WITH-PACKAGE-GRAPH, MAKE-PACKAGE was
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 >