1.0.29.34: hopefully thread-safe SB-PROFILE
authorNikodemus Siivola <nikodemus@random-state.net>
Mon, 22 Jun 2009 16:06:22 +0000 (16:06 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Mon, 22 Jun 2009 16:06:22 +0000 (16:06 +0000)
commitc461e239d10c94d77649856bbde06431666da4fd
treecfe771ac74cfc8255ab92e99266c709aaf0cbf77
parent3cb38bad21763eb16bd89d89a5fac9a186ac625b
1.0.29.34: hopefully thread-safe SB-PROFILE

* Nuke PCOUNTER stuff, and replace it with a COUNTER local to
  profile.lisp:

  ** New counter uses ATOMIC-INCF for atomicity, plus a lock and
     an overflow counter to handle counts over word in size.

  ** Stack allocate counters and counter value cells when possible
     to reduce overhead.

* Nuke the FASTBIG-stuff. A generic arithmetic call with fixnum args
  is not that slow -- and if it turns out to be too slow after all,
  then the compiler should take care of this under appropriate policy
  instead of us using hacks like this.

* Test case from Volkan Yazici.
build-order.lisp-expr
doc/manual/profiling.texinfo
package-data-list.lisp-expr
src/code/early-pcounter.lisp [deleted file]
src/code/pcounter.lisp [deleted file]
src/code/profile.lisp
src/compiler/fndb.lisp
tests/profile.impure.lisp [new file with mode: 0644]
version.lisp-expr