1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-24 07:41:54 -07:00
Commit graph

373 commits

Author SHA1 Message Date
Richard Kistruck
6adf5c2f2b Br/vc9: mpsioan.c #pragma warning( disable : 4996 )
Copied from Perforce
 Change: 165716
 ServerID: perforce.ravenbrook.com
2008-08-14 20:50:51 +01:00
Richard Kistruck
0eca817558 Br/vc9: mpsliban.c #pragma warning( disable : 4996 )
Copied from Perforce
 Change: 165715
 ServerID: perforce.ravenbrook.com
2008-08-14 20:48:35 +01:00
Richard Kistruck
d5dff566ea Br/vc9: instead of include, just paste in commpre & post (hack!)
Copied from Perforce
 Change: 165714
 ServerID: perforce.ravenbrook.com
2008-08-14 20:38:34 +01:00
Richard Kistruck
93ef5a2484 Mps master: readme et al changes for version 1.108.2
Copied from Perforce
 Change: 164906
 ServerID: perforce.ravenbrook.com
2008-05-01 17:45:07 +01:00
Richard Kistruck
122e0b6e06 Mps master (integ from br/vmarenagrow/code/arenavm.c):
mps_arena_vm_growth(): fail with MPS_RES_PARAM if desired < minimum

Copied from Perforce
 Change: 164899
 ServerID: perforce.ravenbrook.com

GitHub-reference: https://github.com/Ravenbrook/mps/issues/16
2008-05-01 16:24:43 +01:00
Richard Kistruck
419091864c Mps br/vmarenagrow:
mps_arena_vm_growth should give MPS_RES_PARAM is desired < minimum

Copied from Perforce
 Change: 164898
 ServerID: perforce.ravenbrook.com
2008-05-01 15:22:01 +01:00
Richard Kistruck
ef5884c154 Mps br/vmarenagrow: some work-in-progress on visualising gangs:
ArenaTractsInZones - count how many tracts are used/free in each zone
GangsetFullDescribe, GangFullDescribe - show usage
mpm.c: new WriteF tag "u" is space-padded 3-column unsigned

Copied from Perforce
 Change: 164896
 ServerID: perforce.ravenbrook.com
2008-05-01 15:06:20 +01:00
Richard Kistruck
2ebf28bfc9 Mps master (integ from br/vmarenagrow@163759):
mps_arena_vm_growth(): new interface function; client specifies 
  desired arena increment, and minimum arena increment.
   arenavm.c: .chunk-create.fail: try a succession of _gradually_ 
     reducing sizes (aiming to 'waste' at most 1/8th of the available 
     space, rather than the 1/2 that can be 'wasted' by halving each 
     time); stopping at specified minimum arena increment 
     (VMArenaStruct.extendMin) or 4K.

Copied from Perforce
 Change: 164894
 ServerID: perforce.ravenbrook.com
2008-05-01 14:58:10 +01:00
Richard Kistruck
cc94295193 Mps master (integ from br/auto_header): make amcreclaimnailed() call
SegFree if the seg had no preserved objects, no buffer, and is no 
longer nailed for any trace.

Copied from Perforce
 Change: 164885
 ServerID: perforce.ravenbrook.com
2008-04-30 18:56:56 +01:00
Richard Kistruck
fc78b1a10a Mps br/auto_header: (cosmetic) tidy up, add aver unbuffered.
Copied from Perforce
 Change: 164884
 ServerID: perforce.ravenbrook.com
2008-04-30 16:50:12 +01:00
Richard Kistruck
87c5b1791f Mps exp-164852
Copied from Perforce
 Change: 164852
 ServerID: perforce.ravenbrook.com
2008-04-29 15:10:30 +01:00
Richard Kistruck
e53943f8fd Mps br auto_header: cannot segfree nailed seg if it has a buffer
Copied from Perforce
 Change: 164851
 ServerID: perforce.ravenbrook.com
2008-04-29 15:09:12 +01:00
Richard Kistruck
28f802331a Mps br auto_header (not the right place for this): fix .nailboard.limitations.middle;
see mail from Configura.

Copied from Perforce
 Change: 164849
 ServerID: perforce.ravenbrook.com
2008-04-29 14:52:35 +01:00
Richard Kistruck
ad156328cd Mps experimental release exp-164845
Copied from Perforce
 Change: 164845
 ServerID: perforce.ravenbrook.com
2008-04-29 11:35:02 +01:00
Richard Kistruck
3d40ae2a3e Mps integ from br/auto_header: job001784 amc + auto_header leak
poolamc.c: [job001784] fix ControlPool leak in amcSegDestroyNailboard;
arena.c, mpm.h: new ControlDescribe() diagnostic function, to describe arena control pool;
mpsicv.c, comm.gmk: use auto_header format half the time (rnd() & 1).
+ readme.txt: describe job001784 fix.

Copied from Perforce
 Change: 164508
 ServerID: perforce.ravenbrook.com
2008-03-26 17:58:22 +00:00
Richard Kistruck
f96d3c23ca Mps br/auto_header: drop ephemeral diag filters and extra-large diag buffer
Copied from Perforce
 Change: 164507
 ServerID: perforce.ravenbrook.com
2008-03-26 17:09:00 +00:00
Richard Kistruck
5d79e65059 Mps br/auto_header: drop ephemeral arenadestroy and tracedestroy diags
Copied from Perforce
 Change: 164506
 ServerID: perforce.ravenbrook.com
2008-03-26 17:03:17 +00:00
Richard Kistruck
d488b4146a mps br/auto_header: [fix broken build, *sigh*] renaming missed a controlpooldescribe in arena.c
Copied from Perforce
 Change: 164505
 ServerID: perforce.ravenbrook.com
2008-03-26 16:58:17 +00:00
Richard Kistruck
5f42c8abef Mps br/auto_header: rename controlpooldescribe as controldescribe; aaagh tabs
Copied from Perforce
 Change: 164504
 ServerID: perforce.ravenbrook.com
2008-03-26 16:53:34 +00:00
Richard Kistruck
7aee83ee70 Mps br/auto_header: poolamc.c: [job001784] permanent fix: drop tabs, ifdef, and ephemeral diag; update copyright date
Copied from Perforce
 Change: 164503
 ServerID: perforce.ravenbrook.com
2008-03-26 14:47:57 +00:00
Richard Kistruck
0e0de72dd2 Mps br/auto_header: (just arenadestroy diag)
Copied from Perforce
 Change: 164502
 ServerID: perforce.ravenbrook.com
2008-03-26 14:32:53 +00:00
Richard Kistruck
cd44df4e24 Mps br/auto_header: mpsicv: use auto_header format half the time (rnd() & 1);
also: drop tabs; update copyright date

Copied from Perforce
 Change: 164501
 ServerID: perforce.ravenbrook.com
2008-03-26 14:30:59 +00:00
Richard Kistruck
a2e31d78c7 Mps br/auto_header: mpsicv can use auto_header format, by the magic
of adding #ifdefs...  Ahem.  I'll fix that in a minute.

Copied from Perforce
 Change: 164396
 ServerID: perforce.ravenbrook.com
2008-03-12 11:37:06 +00:00
Richard Kistruck
9522199166 Mps br/auto_header: add arenadestroy diag: calls controlpooldescribe
just before finishing the control pool.  This clearly shows the 
job001784 leak, and allows some checking for other such leaks.

Copied from Perforce
 Change: 164385
 ServerID: perforce.ravenbrook.com
2008-03-12 08:29:46 +00:00
Richard Kistruck
c629919d2c Mps br/auto_header:
Add diagnostics to show ControlPool leak when deallocating nailboards with auto_header format.
See logfiles added in this changelist.

Copied from Perforce
 Change: 164383
 ServerID: perforce.ravenbrook.com
2008-03-11 19:53:05 +00:00
Richard Kistruck
900994b380 Mps br/auto_header: trial fix of job001784 "amc pool + auto_header format: nailboards leak controlpool memory"
Passes test_runner.py (as it did before the fix).

Copied from Perforce
 Change: 164379
 ServerID: perforce.ravenbrook.com
2008-03-11 19:18:50 +00:00
Richard Kistruck
18608b24c4 Mps br/vmarenagrow: better diag output when a gang grabs a new zone
(show the whole gangset, with new zone highlighted)

Copied from Perforce
 Change: 164252
 ServerID: perforce.ravenbrook.com
2008-02-29 19:04:24 +00:00
Richard Kistruck
9b812d6ba9 Mps br/vmarenagrow: make segprefdescribe fit on one line
Copied from Perforce
 Change: 164251
 ServerID: perforce.ravenbrook.com
2008-02-29 19:02:48 +00:00
Richard Kistruck
8cdb3792c1 Mps br/vmarenagrow: trace.c: tracestartwhytotextbuffer: add aver.
(must have len > 0; remove incorrect comment)

Copied from Perforce
 Change: 164250
 ServerID: perforce.ravenbrook.com
2008-02-29 19:01:56 +00:00
Richard Kistruck
81ad59fcf6 Mps br/vmarenagrow: [work in progress] arenavm.c using gangset, gangs.
Copied from Perforce
 Change: 164243
 ServerID: perforce.ravenbrook.com
2008-02-28 18:56:32 +00:00
Richard Kistruck
b700703795 Mps br/vmarenagrow: [broken - work-in-progress checkin]
Gangset and Gangs.  SegPrefZonesOpen/Next/Close to try various 
zonesets appropriate to the SegPref's gang.

Copied from Perforce
 Change: 164231
 ServerID: perforce.ravenbrook.com
2008-02-27 19:52:56 +00:00
Richard Kistruck
1549b16fc8 Mps br/vmarenagrow: arenavm: keep track of non-gen gangs; diag when
a gang grabs another zone.

Copied from Perforce
 Change: 164150
 ServerID: perforce.ravenbrook.com
2008-02-21 21:47:13 +00:00
Richard Kistruck
db50153219 Mps br/vmarenagrow: write segprefdescribe()
Copied from Perforce
 Change: 164149
 ServerID: perforce.ravenbrook.com
2008-02-21 21:38:28 +00:00
Richard Kistruck
a72e41d44c Mps br/vmarenagrow: make chunkdescribe use chunkzonesnextarea; report
total _allocatable_ grains (ie. excluding ullage = pages used for chunk 
internal datastructures), and how many of those grains are free.

Copied from Perforce
 Change: 164088
 ServerID: perforce.ravenbrook.com
2008-02-15 12:07:00 +00:00
Richard Kistruck
7d57ee051a Mps: move zoneset-in-chunk calculating code out of pagesfindfreeinzones,
to create new function ChunkZonesNextArea

Copied from Perforce
 Change: 164081
 ServerID: perforce.ravenbrook.com
2008-02-14 18:54:04 +00:00
Richard Kistruck
0784270690 Mps br/vmarenagrow: chunkdescribe, now called from arenadescribe.
ChunkDescribe shows all chunks in the arena, and for each chunk shows 
how many arena grains (~= pages) there in each zone in the chunk.

Copied from Perforce
 Change: 163853
 ServerID: perforce.ravenbrook.com
2008-01-28 19:31:04 +00:00
Richard Kistruck
8b4708b718 Mps master: arenavm.c: tabs!
Copied from Perforce
 Change: 163842
 ServerID: perforce.ravenbrook.com
2008-01-28 15:31:46 +00:00
Richard Kistruck
48d4fc18e7 Mps br/vmarenagrow: vmarena.c: tabs!
Copied from Perforce
 Change: 163814
 ServerID: perforce.ravenbrook.com
2008-01-24 18:29:38 +00:00
Richard Kistruck
3f0ff77911 Mps br/vmarenagrow: arenadescribe: show zonesize.
(Also, move comment: the test that Fails if the chunk is so small 
that stripes are smaller than pages is in arena.c, not arenavm.c)

Copied from Perforce
 Change: 163813
 ServerID: perforce.ravenbrook.com
2008-01-24 18:25:29 +00:00
Richard Kistruck
e383a7e803 Mps br/vmarenagrow: addrspacedescribe -- shows first few hundred regions of address-space in our process,
called from VMCreate.

Copied from Perforce
 Change: 163790
 ServerID: perforce.ravenbrook.com
2008-01-21 18:25:07 +00:00
Richard Kistruck
1e1622d53a Mps 163759
Copied from Perforce
 Change: 163759
 ServerID: perforce.ravenbrook.com
2008-01-11 19:34:31 +00:00
Richard Kistruck
42304b0ed2 mps br/vmarenagrow: remove test code that fails deliberately.
Copied from Perforce
 Change: 163758
 ServerID: perforce.ravenbrook.com
2008-01-11 19:29:34 +00:00
Richard Kistruck
9c12818c79 Mps br/vmarenagrow: drop slices from top half of request until
satisified.  WARNING: contains test code that fails deliberately.

Copied from Perforce
 Change: 163757
 ServerID: perforce.ravenbrook.com
2008-01-11 19:25:17 +00:00
Richard Kistruck
13c15ef2dc Mps br/vmarenagrow: new mps interface function mps_arena_vm_growth():
Client specifies extendBy and (new) extendMin.
(extendMin does not work yet)

Copied from Perforce
 Change: 163753
 ServerID: perforce.ravenbrook.com
2008-01-11 16:07:51 +00:00
Richard Kistruck
37b80e5dd6 Mps master: version-name and release notes for release 1.108.1
Copied from Perforce
 Change: 163676
 ServerID: perforce.ravenbrook.com
2007-12-21 18:16:34 +00:00
Richard Kistruck
811a2ea03c Mps master (from br/vmarenagrow): arenavm.c:
- if VMChunkCreate fails, fall back: re-try with a smaller request;
  - tidy up code to choose chunk size, with a consistent, smaller 
    (10%) .vmchunk.overhead estimate;
  - add diag.
arena.c: ArenaDescribe() now reports total arena reserved and committed

Copied from Perforce
 Change: 163675
 ServerID: perforce.ravenbrook.com
2007-12-21 17:23:31 +00:00
Richard Kistruck
3830b161c4 Mps exp-163669
Copied from Perforce
 Change: 163669
 ServerID: perforce.ravenbrook.com
2007-12-21 15:36:58 +00:00
Richard Kistruck
bfbeb04339 mps br/vmarenagrow: arenavm.c: vmchunkcreate() -- remove
deliberately-failing test code.

Copied from Perforce
 Change: 163668
 ServerID: perforce.ravenbrook.com
2007-12-21 13:15:06 +00:00
Richard Kistruck
a5930b0550 mps br/vmarenagrow: arenavm.c: vmarenaextend() tidy up code to
choose chunk size, with a consistent, smaller (10%) .vmchunk.overhead 
 estimate.  Tidy diag and comments.

Copied from Perforce
 Change: 163667
 ServerID: perforce.ravenbrook.com
2007-12-21 13:08:37 +00:00
Richard Kistruck
9ac760252a mps br/vmarenagrow: arenavm.c: vmarenaextend() will:
a) choose a better chunkSize;
   b) fallback to smaller sizes if request fails.
 *** WARNING ***
 VMChunkCreate() has test-code that deliberately fails requests,
 for testing this functionality.

Copied from Perforce
 Change: 163665
 ServerID: perforce.ravenbrook.com
2007-12-20 18:00:50 +00:00