From 379ed4bb5261a50aeeec8751cbc04a238b8f56f5 Mon Sep 17 00:00:00 2001 From: Richard Kistruck Date: Thu, 29 Jun 2006 18:36:47 +0100 Subject: [PATCH 1/3] Mps readme.txt: note fixed job001421, job001455 Copied from Perforce Change: 159477 ServerID: perforce.ravenbrook.com --- mps/readme.txt | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/mps/readme.txt b/mps/readme.txt index 9f827cff177..5a2aff532a6 100644 --- a/mps/readme.txt +++ b/mps/readme.txt @@ -52,8 +52,26 @@ This document is not confidential. record of changes. In a release of the MPS-Kit, this section becomes the summary of what is new for that release.) -This is release 1.106.2, made on 2006-04-11. +[ +......Post 1.106.2 changes: +Functional changes to MPS code: + + +Defect discovered: + - if there was a pool of pool-class LO (leaf-only objects, + see mps_class_lo), the mps_arena_formatted_objects_walk() + call would fail. +Fixed: mps_arena_formatted_objects_walk() will now work. + +Other changes: + + + - the default "all" build now builds mps library and plinth, on + all platforms. +] + +This is release 1.106.2, made on 2006-04-11. Changes from release 1.106.1: No functional changes to MPS implementation code. @@ -299,6 +317,7 @@ B. DOCUMENT HISTORY 2006-03-30 RHSK Add section 2: What's new. 2006-04-11 RHSK Update from "1.106.1" to "1.106.2". 2006-04-14 RHSK Merge updates from version/1.106 back to master. +2006-06-29 RHSK Note fixed job001421, job001455. C. COPYRIGHT AND LICENSE From 0f430304adad7cdef9a5393ba679ff22915be927 Mon Sep 17 00:00:00 2001 From: Richard Kistruck Date: Thu, 10 Aug 2006 14:21:20 +0100 Subject: [PATCH 2/3] Mps source typo in tract.c #define tractarena(seg) should be #define TractArena(tract). The broken definition worked because it was always invoked with "TractPool(tract)". (Source-only change) Copied from Perforce Change: 160013 ServerID: perforce.ravenbrook.com --- mps/code/tract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mps/code/tract.c b/mps/code/tract.c index 7c9364a37f1..0bfb03e419d 100644 --- a/mps/code/tract.c +++ b/mps/code/tract.c @@ -22,7 +22,7 @@ static void ChunkDecache(Arena arena, Chunk chunk); /* TractArena -- get the arena of a tract */ -#define TractArena(seg) PoolArena(TractPool(tract)) +#define TractArena(tract) PoolArena(TractPool(tract)) /* TractCheck -- check the integrity of a tract */ From 9962457ddf37b02d99b3946fbcc38bad9b6da463 Mon Sep 17 00:00:00 2001 From: Richard Kistruck Date: Thu, 10 Aug 2006 16:13:24 +0100 Subject: [PATCH 3/3] Mps (comment-only change) misc.h: correct the explanation for the PARENT() macro. Copied from Perforce Change: 160016 ServerID: perforce.ravenbrook.com --- mps/code/misc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mps/code/misc.h b/mps/code/misc.h index fb3a95a7174..a41dad3eb20 100644 --- a/mps/code/misc.h +++ b/mps/code/misc.h @@ -137,13 +137,14 @@ typedef const struct SrcIdStruct { /* PARENT -- parent structure * * Given a pointer to a field of a structure this returns a pointer to - * the main structure. PARENT(foo_t, x, foo->x) == foo. + * the main structure. PARENT(foo_t, x, &(foo->x)) == foo. * * This macro is thread-safe, see design.mps.misc.parent.thread-safe. * * That intermediate (void *) is required to stop some compilers complaining * about alignment of 'type *' being greater than that of 'char *'. Which - * is true, but not a bug, since p really is a pointer into a 'type' struct. + * is true, but not a bug, since the result really is a pointer to a 'type' + * struct. */ #define PARENT(type, field, p) \