| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
do not use segments.
|
| | |
|
| |
|
|
| |
cet-merge-2 and subsequently became mps-2022. directly fix some whitespace according to c syntax conventions and remove boolean operation on a pointer
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clang 10 turns on -Wimplicit-int-float-conversion, and on 64-bit
platforms this issues a warning that implicit conversions to double
from Size and unsigned long "may lose precision".
This commit adds casts to (double) for all such conversions. The loss
of precision is either impossible in practice (because a double can
represent all integers up to 2**53, which is about 9 petabytes, well
beyond the addressing capabilities for current CPUs), or else
acceptable, because we are accumulating an approximate quantity like
"collection work" or "fill size" (that has to cope with loss of
precision due in any case), or computing a threshold like the spare
commit limit where it is acceptable for it to be somewhat approximate.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Publish minor changes to readme and configure files in main directory.
Main directory and code directory licence texts are now fully updated.
Copied from Perforce
Change: 196994
|
| |
|
|
|
|
| |
Copied from Perforce
Change: 195761
|
| |
|
|
|
|
|
|
|
|
|
| |
1. Being on the critical path is a property of the code location where the event is emitted, not of the event type, so indicate this using EVENT_CRITICAL macros rather than a field in the event table.
2. Compile out events on the critical path in hot varieties.
3. Remove TraceFixWhite event (redundant with TraceFixSeg).
4. No need for special handling of PoolFree event -- this are already skipped in hot varieties by dispatching directly to the pool class via PoolFreeMacro.
Copied from Perforce
Change: 195261
|
| |\
| |
| |
| |
| |
| |
| |
| | |
branch/2018-06-20/monitor.
Copied from Perforce
Change: 195071
|
| | |
| |
| |
| |
| |
| |
| |
| | |
burden of keeping the functions and macros consistent.
Copied from Perforce
Change: 194418
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Using macros to bypass PoolFree and Land* generic functions.
2. Compiling out assertions on functions on the critical paths for manual allocation and freeing.
3. Taking advantage of the fact that splay->updateNode does not change during a splay operation.
Copied from Perforce
Change: 194397
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
allows the segment whiten and reclaim methods not to need to know the pool class.)
Copied from Perforce
Change: 193084
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
visual c.
Check AWL pool generation.
Update design.
Copied from Perforce
Change: 193076
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
between awl and lo.
Copied from Perforce
Change: 193071
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add missing finish functions amcSegFinish, mrgLinkSegFinish, mrgRefSegFinish, sncSegFinish.
Check all class constructor results.
Copied from Perforce
Change: 193055
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
walk all segments).
Copied from Perforce
Change: 193044
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 193039
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 193028
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 193023
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 193012
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 193007
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 193002
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 192997
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 192994
ServerID: perforce.ravenbrook.com
|
| |/
|
|
|
|
|
|
|
|
| |
In telemetry output, distinguish between labelling of (client) addresses and (MPS-internal) pointers, to avoid transgressing the distinction.
Add arena grain size, class, and serial number to ArenaCreate* events.
Add pool class and serial number to PoolInit event.
Copied from Perforce
Change: 194086
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
p. pirinen on 1999-07-20).
Bring pool class method descriptions up to date.
Document bufferClass, bufferFill, bufferEmpty, totalSize, freeSize methods.
Document generic instance methods at design.mps.protocol.method.
Copied from Perforce
Change: 192642
ServerID: perforce.ravenbrook.com
|
| |
|
|
|
|
|
|
|
| |
this function failed to solve the problem of decoding the stack on 64-bit windows, because the stack may need to be decoded after an mps assertion failure, in which case the arena lock is held and mps_addr_object cannot be called. we eventually solved the problem in a different way (using mps_arena_postmortem) and mps_addr_object is no longer used.
Copied from Perforce
Change: 192637
ServerID: perforce.ravenbrook.com
|
| |
|
|
|
|
|
|
|
|
| |
Remove unused event AMCTraceEnd.
The fixEmergency method must have the same type as the fix method because of how they are used.
Copied from Perforce
Change: 192636
ServerID: perforce.ravenbrook.com
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
prmcw3i6.c.
Implement MutatorContextCheck on Windows. Add AVERT(MutatorContext, context) in PoolAccess and other functions.
Document initialization functions MutatorContextInitFault and MutatorContextInitThread and implement them on Windows.
Add a union discriminator to MutatorContextStruct on Windows so that we don't accidentally try to get the stack pointer from a fault context, or the exception address from a thread context.
Copied from Perforce
Change: 192567
ServerID: perforce.ravenbrook.com
|
| |
|
|
|
|
|
|
|
| |
not only used to store the context of a fault, but also to store the context of a thread that has been suspended.
Copied from Perforce
Change: 192523
ServerID: perforce.ravenbrook.com
|
| |\
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 192181
ServerID: perforce.ravenbrook.com
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | | |
Copied from Perforce
Change: 192176
ServerID: perforce.ravenbrook.com
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
programs using mvff. this brings the hot/rash ratio for "djbench mvff" down from over 150% to about 130%.
Copied from Perforce
Change: 192148
ServerID: perforce.ravenbrook.com
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
usual mps convention.
Copied from Perforce
Change: 191685
ServerID: perforce.ravenbrook.com
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
a few calls to use nextmethod.
Copied from Perforce
Change: 191605
ServerID: perforce.ravenbrook.com
|
| | |/
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 191604
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 191587
ServerID: perforce.ravenbrook.com
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 191531
ServerID: perforce.ravenbrook.com
|
| |/
|
|
|
|
|
| |
Copied from Perforce
Change: 191528
ServerID: perforce.ravenbrook.com
|
| |\
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 191471
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 191407
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 191453
ServerID: perforce.ravenbrook.com
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
expressions as c++, and it can't be named.
Copied from Perforce
Change: 191304
ServerID: perforce.ravenbrook.com
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Copied from Perforce
Change: 191251
ServerID: perforce.ravenbrook.com
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | | |
Copied from Perforce
Change: 191065
ServerID: perforce.ravenbrook.com
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
we can only implement lightweight pops to an address in the buffer. in particular we can't support pending pops, which means that there's no need for the fields in the allocation point that support pending pops.
Copied from Perforce
Change: 187232
ServerID: perforce.ravenbrook.com
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
that code is shared.
Copied from Perforce
Change: 191004
ServerID: perforce.ravenbrook.com
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Copied from Perforce
Change: 190986
ServerID: perforce.ravenbrook.com
|