Re: what is a stack
From: Sam (samhunt90_at_hotmail.com)
Date: 07/16/04
- Next message: Flip: "Re: size limitation to a .java file?"
- Previous message: McNepp: "Re: encoding problem with environment variables"
- In reply to: thufir.hawat_at_mail.com: "Re: what is a stack"
- Next in thread: thufir.hawat_at_mail.com: "Re: what is a stack"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Jul 2004 07:14:11 -0700
thufir.hawat@mail.com wrote in message news:<Pine.GSO.4.43.0407152149030.14514-100000@earth>...
>
>
> I think you're not really referring to stacks and queues in java per se,
> but the heap and queue's in memory or something. AFAIK this is totally
> opaque in java, so, in a sense, isn't "necesarry" to know. I think it's
> related to garbage collection, which, in general, you're not supposed to
> have to deal with. OTOH the more you know the better.
>
> HTH,
>
> Thufir Hawat
I usually associate the "stack" with a limited memory area
(registers?) used by the OS to keep track of things like where the
program is currently executing, method calls and local (primitive)
variables and such. Otoh, I consider the "heap" as general memory
where objects are stored to (and garbage collected from).
Sam90
- Next message: Flip: "Re: size limitation to a .java file?"
- Previous message: McNepp: "Re: encoding problem with environment variables"
- In reply to: thufir.hawat_at_mail.com: "Re: what is a stack"
- Next in thread: thufir.hawat_at_mail.com: "Re: what is a stack"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|