mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 06:12:27 +00:00
Optimize memory layout
This commit is contained in:
parent
0305194d98
commit
b69f3d2488
41 changed files with 383 additions and 347 deletions
|
@ -49,6 +49,10 @@ static uint64_t Rando(void) {
|
|||
return x;
|
||||
}
|
||||
|
||||
void SetUp(void) {
|
||||
__print_maps();
|
||||
}
|
||||
|
||||
static const struct {
|
||||
const char *want;
|
||||
const char *fmt;
|
||||
|
|
|
@ -52,5 +52,5 @@ TEST(zipos, test) {
|
|||
struct spawn *t = _gc(malloc(sizeof(struct spawn) * n));
|
||||
for (i = 0; i < n; ++i) ASSERT_SYS(0, 0, _spawn(Worker, 0, t + i));
|
||||
for (i = 0; i < n; ++i) EXPECT_SYS(0, 0, _join(t + i));
|
||||
/* __print_maps(); */
|
||||
__print_maps();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue