zsh-workers
 help / color / mirror / code / Atom feed
From: Phil Pennock <phil@athenaeum.demon.co.uk>
To: zsh-workers@math.gatech.edu
Subject: Re: heap memory issues
Date: Fri, 4 Dec 1998 15:39:50 +0000	[thread overview]
Message-ID: <19981204153950.58656@athenaeum.demon.co.uk> (raw)
In-Reply-To: <199812040949.KAA15607@beta.informatik.hu-berlin.de>; from "Sven Wischnowsky" on Fri 4 Dec 1998 (10:49 +0100)

Typing away merrily, Sven Wischnowsky produced the immortal words:
> Btw. is the type `long long' in the ANSI-standard? I always thought it 
> was some special thing offered only by gcc.

I've not read the C9X draft.  It's big; thinking about it, now is the
time to do so.  I emailed zefram in January with the URLs:
 <http://www.dkuug.dk/JTC1/SC22/WG14/>
 <http://osiris.dkuug.dk/JTC1/SC22/open/n2620/n2620.txt>
Also in postscript and PDF (according to what I wrote when I mailed
him, anyway.  Too long ago for me to actually remember).

Reading through subsequent email with zef, C9X apparently adopts
'long long' rather than specifiable integer sizes.

> Bart already described the meaning of the second argument to
> zfree(). To answer the other thing: I don't see a place where a heap
> can be allocated that has an arena of less than HEAD_ARENA_SIZE
> bytes in which case we simply don't have the problem you
> described. Could you enlighten me where this small head arena can be
> allocated?

If an big hunk was allocated, such that an overly large arena was
created for it, then reallocating to a size less than the maximum looked
to me as if it would allocate a small arena.

I think.  I want to leave it a few years before looking at that code
again.  ;^)
-- 
--> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++
E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+
G+ e+ h* r y?


  reply	other threads:[~1998-12-04 18:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-04  9:49 Sven Wischnowsky
1998-12-04 15:39 ` Phil Pennock [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-11-21 21:37 Phil Pennock
1998-11-24 17:32 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19981204153950.58656@athenaeum.demon.co.uk \
    --to=phil@athenaeum.demon.co.uk \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).