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

411 commits

Author SHA1 Message Date
Richard Kistruck
ac8737958b Mps br/timing:
message.c: maintain postedClock field, set it with mps_clock() at post time;
  amcss.c: call and display mps_message_clock() on _gc_start & _gc messages.

Copied from Perforce
 Change: 166677
 ServerID: perforce.ravenbrook.com
2008-11-07 16:11:37 +00:00
Richard Kistruck
a74aa28b4f Mps br/timing: (cosmetic) re-format report()'s switch on message type
to comply with design/cstyle.

Copied from Perforce
 Change: 166676
 ServerID: perforce.ravenbrook.com
2008-11-07 15:22:24 +00:00
Richard Kistruck
bac3560c2e mps br/timing: tabs in header files. (p4 diff -db -- confirms whitespace changes only).
Copied from Perforce
 Change: 166674
 ServerID: perforce.ravenbrook.com
2008-11-07 13:58:56 +00:00
Richard Kistruck
9935ca3ecd mps br/timing: tabs in source files. (p4 diff -db -- confirms whitespace changes only).
Copied from Perforce
 Change: 166673
 ServerID: perforce.ravenbrook.com
2008-11-07 13:56:12 +00:00
Richard Kistruck
98628157c1 Mps br/timing: tabs in test source files. (p4 diff -db -- confirms whitespace changes only).
Copied from Perforce
 Change: 166671
 ServerID: perforce.ravenbrook.com
2008-11-07 13:45:50 +00:00
Richard Kistruck
1be911f2ab Mps br/timing: (tabs) amcss.c
Copied from Perforce
 Change: 166670
 ServerID: perforce.ravenbrook.com
2008-11-07 13:37:23 +00:00
Richard Kistruck
5b0e9d7df9 Mps br/timing: message.c: (comment only) remove wrong copy-pasted comment
Copied from Perforce
 Change: 166669
 ServerID: perforce.ravenbrook.com
2008-11-07 13:17:35 +00:00
Richard Kistruck
63d30f9160 Mps br/timing: hack in mps_clock_t
(Should go via new Clock type in mpmtypes, mpsi_check(), etc).

Copied from Perforce
 Change: 166591
 ServerID: perforce.ravenbrook.com
2008-10-31 17:14:37 +00:00
Richard Kistruck
49d7318def Mps br/timing: (re-order file contents) arrange message functions
into a consistent order: 
 - internal (MPM) interface -- functions for message originator;
 - delivery (client) interface -- functions for recipient;
 - message methods.

Copied from Perforce
 Change: 166589
 ServerID: perforce.ravenbrook.com
2008-10-31 12:23:24 +00:00
Richard Kistruck
0403742d55 Mps br/timing: (*sigh*) have to back out everything (mpslib.h and
mpmst.h) to check it still builds, having rearranged
message functions into a consistent order.

Copied from Perforce
 Change: 166588
 ServerID: perforce.ravenbrook.com
2008-10-31 12:18:44 +00:00
Richard Kistruck
cb1a2bf60a Mps br/timing: back out mps.h too: i want to rearrange
message functions into a consistent order first

Copied from Perforce
 Change: 166587
 ServerID: perforce.ravenbrook.com
2008-10-31 11:52:44 +00:00
Richard Kistruck
c67ab90237 mps br/timing: back out broken message.c & mpsi.c
Copied from Perforce
 Change: 166586
 ServerID: perforce.ravenbrook.com
2008-10-31 10:16:57 +00:00
Richard Kistruck
d1a3bc7f29 Mps br/timing: (broken) snapshot; i want to back these out and rearrange
functions into a consistent order first

Copied from Perforce
 Change: 166585
 ServerID: perforce.ravenbrook.com
2008-10-31 10:10:19 +00:00
Richard Kistruck
2fb8daa6ca Mps master: (integ from br/vc9)
__New w3i3m9 clone-platform__
(see job001944)
w3i3m9.nmk (from w3i3mv.nmk) -- makefile
w3vc9.bat (from w3build.bat) -- Configura release
commpre9.nmk (from commpre.nmk) -- VC9 compiler	and linker opts

__use CONFIG_PF_* to check compiler__
(see job001945)
mpstd.h:
- fix broken behaviour if CONFIG_PF_* is set (result depends on
order of the various platform elifs!); change it to always use
platform detection by looking at preprocessor symbols, and
then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check
that CONFIG and detection match;
- write design notes about interaction of CONFIG_PF_* and
platform detection.
xcppgc.gmk: define both CONFIG_PF_STRING and CONFIG_PF_*.
w3i3m[v9].nmk: define both CONFIG_PF_STRING and CONFIG_PF_*.

Copied from Perforce
 Change: 166536
 ServerID: perforce.ravenbrook.com
2008-10-23 15:34:11 +01:00
Richard Kistruck
4c5e2167f7 Mps br/vc9: mpstd.h: (for all remaining platforms)
- fix broken behaviour if CONFIG_PF_* is set (result depends on 
  order of the various platform elifs!); change it to always use 
  platform detection by looking at preprocessor symbols, and 
  then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check 
  that CONFIG and detection match;
xcppgc.gmk: define both CONFIG_PF_STRING and CONFIG_PF_*.

Copied from Perforce
 Change: 166513
 ServerID: perforce.ravenbrook.com
2008-10-21 18:32:26 +01:00
Richard Kistruck
0300ffec3c Mps br/vc9: mpstd.h:
- fix broken behaviour if CONFIG_PF_* is set (result depends on 
    order of the various platform elifs!); change it to always use 
    platform detection by looking at preprocessor symbols, and 
    then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check 
    that CONFIG and detection match;
  - write design notes about interaction of CONFIG_PF_* and 
    platform detection.
w3i3m[v9].nmk: define both CONFIG_PF_STRING and CONFIG_PF_*.

Copied from Perforce
 Change: 166512
 ServerID: perforce.ravenbrook.com
2008-10-21 17:44:17 +01:00
Richard Kistruck
f6d0d07c66 Mps br/vc9: new w3i3m9 clone-platform:
- w3i3m9.nmk: use commpre9.nmk (not commpre.nmk), for VC9 compiler
  and linker options;
- w3i3m[v9].nmk: declare CONFIG_PF_...
- mpstd.h: if CONFIG_PF_... is declared, check that the correct 
  compiler really is in use.

Copied from Perforce
 Change: 166505
 ServerID: perforce.ravenbrook.com
2008-10-20 17:31:57 +01:00
Richard Kistruck
258cb4fb57 Mps br/vc9: new w3i3m9 clone-platform:
Regular changes w3i3mv ->w3i3m9

Copied from Perforce
 Change: 166504
 ServerID: perforce.ravenbrook.com
2008-10-20 16:51:50 +01:00
Richard Kistruck
e814ccfa1e Mps br/vc9: new w3i3m9 clone-platform (not a full platform)
Clone w3i3mv.nmk -> w3i3m9
Clone w3build.bat -> w3vc9.bat

Copied from Perforce
 Change: 166500
 ServerID: perforce.ravenbrook.com
2008-10-20 16:24:20 +01:00
Richard Kistruck
24c8c1a882 Mps br/vc9: under ifdef mps_builder_mv, disable warning 4996 where
necessary for VC9 builds.

Copied from Perforce
 Change: 166497
 ServerID: perforce.ravenbrook.com
2008-10-20 15:12:15 +01:00
Richard Kistruck
1117cb7acf Mps br/vc9: exp-166419
Copied from Perforce
 Change: 166419
 ServerID: perforce.ravenbrook.com
2008-10-07 17:49:18 +01:00
Richard Kistruck
0414e16c67 Mps br/vc9: exp-166150
Copied from Perforce
 Change: 166150
 ServerID: perforce.ravenbrook.com
2008-09-10 19:44:02 +01:00
Richard Kistruck
5fa63d65cd Mps br/vc9: commposn.nmk: add /n
Copied from Perforce
 Change: 166148
 ServerID: perforce.ravenbrook.com
2008-09-10 19:26:19 +01:00
Richard Kistruck
f092fe40bc Mps br/vc9: commposn.nmk is clone of commpost.nmk with /n to nmake; use it to overwrite commpost.nmk to see complier options (etc) when doing w3build.bat
Copied from Perforce
 Change: 166147
 ServerID: perforce.ravenbrook.com
2008-09-10 19:25:26 +01:00
Richard Kistruck
4f7511cc14 Mps br/vc9: har har, delete w3build9.bat and w3i3mv9.nmk: they are not going to work.
Copied from Perforce
 Change: 166146
 ServerID: perforce.ravenbrook.com
2008-09-10 19:22:00 +01:00
Richard Kistruck
3e137735f5 Mps br/vc9: a clone of w3i3mv.nmk for using vc9 settings, as found in commpre9.nmk
Copied from Perforce
 Change: 166144
 ServerID: perforce.ravenbrook.com
2008-09-10 18:51:17 +01:00
Richard Kistruck
287cd4a205 Mps br/vc9: undo #pragma warning (4996) in mpslib.h and mpswin.h; testlib.c is where it is needed
Copied from Perforce
 Change: 166143
 ServerID: perforce.ravenbrook.com
2008-09-10 18:50:13 +01:00
Richard Kistruck
2055d068d9 Mps br/vc9: undo damage to w3i3mv.nmk (!include works fine)
Copied from Perforce
 Change: 166142
 ServerID: perforce.ravenbrook.com
2008-09-10 18:48:54 +01:00
Richard Kistruck
39b4d9f7b7 Mps br/vc9: commpre9.nmk has /ox->/o2, /debug:full->
Copied from Perforce
 Change: 166141
 ServerID: perforce.ravenbrook.com
2008-09-10 18:45:27 +01:00
Richard Kistruck
678542cd36 Mps br/vc9: commpre9.nmk is a clone of commpre.nmk for use with vc9
Copied from Perforce
 Change: 166140
 ServerID: perforce.ravenbrook.com
2008-09-10 18:41:57 +01:00
Richard Kistruck
9d87874492 Mps br/vc9: exp-166037 (o1)
Copied from Perforce
 Change: 166037
 ServerID: perforce.ravenbrook.com
2008-09-05 15:24:02 +01:00
Richard Kistruck
41e0bef8c1 Mps br/vc9: exp-166034 (/02)
Copied from Perforce
 Change: 166034
 ServerID: perforce.ravenbrook.com
2008-09-05 15:11:02 +01:00
Richard Kistruck
b3149ee451 mps br/vc9: use /o2 (not /ox) in cflagshot
Copied from Perforce
 Change: 166033
 ServerID: perforce.ravenbrook.com
2008-09-05 14:56:46 +01:00
Richard Kistruck
785517ee4e mps br/vc9: delete commpostn.nmk - it's a useless way to try to run nmake /n
Copied from Perforce
 Change: 166030
 ServerID: perforce.ravenbrook.com
2008-09-05 12:36:08 +01:00
Richard Kistruck
0a1f63baff Mps br/vc9: commpostn.nmk (create): "n" means just show commands nmake would use, don't run them
Copied from Perforce
 Change: 165878
 ServerID: perforce.ravenbrook.com
2008-08-26 18:15:02 +01:00
Richard Kistruck
ebff6f2c1d Mps br/vc9: exp-165719
Copied from Perforce
 Change: 165719
 ServerID: perforce.ravenbrook.com
2008-08-14 21:04:52 +01:00
Richard Kistruck
d190042869 Br/vc9: *sigh* add to the mpswin.h header file: #pragma warning( disable : 4996 )
Copied from Perforce
 Change: 165718
 ServerID: perforce.ravenbrook.com
2008-08-14 20:59:31 +01:00
Richard Kistruck
8e3f484690 Br/vc9: mpslib.h: overkill add to the header file: #pragma warning( disable : 4996 )
Copied from Perforce
 Change: 165717
 ServerID: perforce.ravenbrook.com
2008-08-14 20:55:31 +01:00
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