Commit Graph

36 Commits

Author SHA1 Message Date
David Goldblatt ba8b9ecbcb Add ehooks module 2019-12-20 10:18:40 -08:00
Yinan Zhang 152c0ef954 Build a general purpose thread event handler 2019-11-04 11:15:50 -08:00
David T. Goldblatt e6180fe1b4 Eset: Add a source file.
This will let us move extents_* functions over one by one.
2019-09-23 23:06:27 -07:00
David T. Goldblatt 723ccc6c27 Extents: Split out extent struct. 2019-09-23 23:06:27 -07:00
Qi Wang 2abb02ecd7 Fix MSVC 2015 build, as proposed by @christianaguilera-foundry. 2019-08-28 23:37:24 -07:00
Yinan Zhang 07ce2434bf Refactor profiling
Refactored core profiling codebase into two logical parts:

(a) `prof_data.c`: core internal data structure managing & dumping;
(b) `prof.c`: mutexes & outward-facing APIs.

Some internal functions had to be exposed out, but there are not
that many of them if the modularization is (hopefully) clean enough.
2019-08-07 19:48:28 -07:00
Yinan Zhang 56126d0d2d Refactor prof log
Prof logging is conceptually seperate from core profiling, so
split it out as a module of its own.  There are a few internal
functions that had to be exposed but I think it is a fair trade-off.
2019-08-07 13:53:45 -07:00
Qi Wang 5742473cc8 Revert "Refactor prof log"
This reverts commit 7618b0b8e4.
2019-07-29 14:10:15 -07:00
Qi Wang 1a0503367b Revert "Refactor profiling"
This reverts commit 0b462407ae.
2019-07-29 14:10:15 -07:00
Yinan Zhang 0b462407ae Refactor profiling
Refactored core profiling codebase into two logical parts:

(a) `prof_data.c`: core internal data structure managing & dumping;
(b) `prof.c`: mutexes & outward-facing APIs.

Some internal functions had to be exposed out, but there are not
that many of them if the modularization is (hopefully) clean enough.
2019-07-29 13:55:00 -07:00
Yinan Zhang 7618b0b8e4 Refactor prof log
`prof.c` is growing too long, so trying to modularize it.  There are
a few internal functions that had to be exposed but I think it is a
fair trade-off.
2019-07-29 13:55:00 -07:00
frederik-h 40a3435b8d Add missing safety_check.c to MSBuild projects
The file is included in the list of source files in Makefile.in,
but it is missing from the project files. This causes the
build to fail due to unresolved symbols.
2019-05-24 09:00:19 -07:00
rustyx 9f43defb6e Add sc.c to the MSVC project 2018-09-04 12:58:05 -07:00
Maks Naumov ce5c073fe5 Fix MSVC build 2018-07-05 13:50:01 -07:00
Maks Naumov a3abbb4bdf Fix MSVC build 2018-02-12 10:35:53 -08:00
rustyx ed52d24f74 Define JEMALLOC_NO_PRIVATE_NAMESPACE also in Visual Studio x86 targets 2018-01-30 13:11:41 -08:00
rustyx 33df2fa169 Fix MSVC 2015 project and add a VS 2017 solution 2017-10-16 10:26:54 -07:00
Ryan Libby 048c6679cd Remove external linkage for spin_adaptive
The external linkage for spin_adaptive was not used, and the inline
declaration of spin_adaptive that was used caused a probem on FreeBSD
where CPU_SPINWAIT is implemented as a call to a static procedure for
x86 architectures.
2017-08-08 10:30:21 -07:00
Jason Evans ba29113e5a Update MSVC project files. 2017-06-13 11:22:41 -07:00
rustyx 1c982c37d9 Make VS2015 project work again 2017-05-02 08:20:29 -07:00
Jason Evans c4c2592c83 Update brace style.
Add braces around single-line blocks, and remove line breaks before
function-opening braces.

This resolves #537.
2017-01-20 21:43:07 -08:00
Matthew Parkinson d30b3ea51a Fixes to Visual Studio Project files 2016-11-04 09:59:05 -07:00
Jason Evans 977103c897 Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *).
This avoids warnings in some cases, and is otherwise generally good
hygiene.
2016-10-27 21:31:25 -07:00
Jason Evans 9acd5cf178 Remove all vestiges of chunks.
Remove mallctls:
- opt.lg_chunk
- stats.cactive

This resolves #464.
2016-10-12 11:55:43 -07:00
rustyx e37720cb4a Fix MSVC project 2016-07-07 13:31:51 -07:00
Jason Evans 22588dda6e Rename most remaining *chunk* APIs to *extent*. 2016-06-05 20:42:23 -07:00
Jason Evans 7d63fed0fd Rename huge to large. 2016-06-05 20:42:23 -07:00
Jason Evans ba5c709517 Remove quarantine support. 2016-05-13 10:25:05 -07:00
Jason Evans 9a8add1510 Remove Valgrind support. 2016-05-13 09:56:18 -07:00
rustyx bc26d7d99b Cleanup MSVC project, embed PDB data inside static .lib 2016-04-12 09:50:10 +02:00
rustyx 232b13d862 Fix MSVC project 2016-03-24 01:37:12 -07:00
rustyx 0e1d5c25c6 Fix MSVC project and improve MSVC lib naming (v140 -> vc140) 2016-02-29 21:04:29 +01:00
rustyx e270a8f936 Make test_threads more generic 2016-02-28 14:49:58 -08:00
rustyx 4c4ee292e4 Improve test_threads performance 2016-02-26 17:18:58 +01:00
rustyx ebd00e95b8 Fix MSVC project 2016-02-26 17:18:48 +01:00
rustyx 984c64f724 Add MS Visual Studio 2015 support 2016-02-20 10:55:23 -08:00