- 22 May, 2015 26 commits
-
-
Michael Arntzenius authored
The signal-blocking is used to prevent libunwind from being entered recursively, if a signal handler invokes libunwind. We don't call libunwind from signal handlers, so this is not a problem for us. The conservative checks just make crashes behave more nicely. They have a small but measurable performance impact. We enable them in debug mode and disable them for release mode.
-
Michael Arntzenius authored
-
Michael Arntzenius authored
We also modify .gitmodules so that our patches to libunwind/ don't make git think the tree is dirty.
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Kevin Modzelewski authored
Perf investigations
-
Kevin Modzelewski authored
The issue is that sometimes we want to test out using builds that wouldn't be able to self-host the libraries that the build system thinks we need. So, add a flag to just not build those.
-
Kevin Modzelewski authored
I think this only matters if we knew the type at JIT time.
-
Kevin Modzelewski authored
also, improve the annotator
-
Kevin Modzelewski authored
Add alloc stats to the base Box::operator new(), which is where non-builtin types get allocated. Also add stats for non-Python allocations (typically, conservative memory); turns out that we are allocating a lot of conservative memory (both in terms of allocations but also in terms of allocation size) for dicts.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Hopefully this makes it more clear which stats are subsets of others, and which ones should add up to other ones. ex it was easy to think that "rewriter_attempts" succeeded as long as "rewriter_aborts" didn't get incremented, but it could also not have gotten started, etc. Here's an example of the new stats: ic_attempts: 1724625 ic_attempts_nopatch: 1306007 ic_attempts_skipped: 404969 ic_attempts_skipped_megamorphic: 85558 ic_attempts_successful: 13649 ic_rewrites: 13649 ic_rewrites_aborted: 3248 ic_rewrites_aborted_assemblyfail: 65 ic_rewrites_committed: 10401
-
Kevin Modzelewski authored
implement float.hex and float.fromhex
-
Kevin Modzelewski authored
remove the llvm::StringRef from BoxedString
-
Kevin Modzelewski authored
support arg unpacking
-
- 21 May, 2015 2 commits
-
-
Kevin Modzelewski authored
tracebacks, struct.pack
-
Kevin Modzelewski authored
The struct module just defers to PyLong_As* methods, so the actual change here is improving our implementation of _PyLong_AsByteArray, to add - overflow and underflow checking - twos-complement conversion (mpz_export ignores the sign) - endianness
-
- 20 May, 2015 3 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Now that we have frame support including f_back, we can use the cpython implementations of these functions. We don't have the same traceback objects (don't have tb_frame or tb_next), so there are still some modifications to the traceback library.
-
Kevin Modzelewski authored
Copy all HAVE_FOO defines from cpython
-
- 19 May, 2015 9 commits
-
-
Kevin Modzelewski authored
Previously we were only copying them when we noticed they were needed, but we've been spending a fair bit of time hunting down issues that are caused by a missing HAVE_ define. So instead, bulk-copy the ones that the CPython configure script determined. I bet we'll start running into some that were available on my 14.04 machine but won't be on other configurations; I'm hoping that an extra define is easier to debug than a missing one (build error vs run error), making this the better approach.
-
Kevin Modzelewski authored
Add full_check and fix a couple misc things
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Add PyWrapperDescr_Type, allow cls->tp_descr_get, allow overwriting attributes inside PyType_Ready
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Add support for compile('single') and func.__globals__/func.func_globals
-
Kevin Modzelewski authored
fix linter to allow comments after includes
-
Kevin Modzelewski authored
When loading a shared library let the GC know about the static variables
-