Article View: comp.lang.java.advocacy
Article #159Re: Java memory
From: Berny
Date: Tue, 20 Feb 2001 17:37
Date: Tue, 20 Feb 2001 17:37
25 lines
2153 bytes
2153 bytes
Objects are mapped in their reference.
String strLine;
strLine = new String();
^^^^^
^------- is now containing the memory-address of this object.
Same counts for classes, I believe.
How to do it with constants, I don't think it is possible with primairy
variable-types.
-Berny
Jordi Guitart <jguitart@ac.upc.es> schreef in berichtnieuws
96trij$4ns$1@defalla.upc.es...
> Hi,
>
> Is there any mechanism or tool to know the memory addresses where objects,
> classes, constants, etc are mapped?
>
> JGF
>
>
Technical Details
Message-ID:
<exQrLP2mAHA.210@net005s.hetnet.nl>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out.usenetserver.com!news3.bellglobal.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!npeer.kpnqwest.net!news2.kpn.net!news.kpn.net!master.news.hetnet.nl!news2.hetnet.nlReferences:
<96trij$4ns$1@defalla.upc.es>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10568c,3df73e04f851a6c7 X-Google-Attributes: gid10568c,public X-Google-Thread: 113ae9,3df73e04f851a6c7 X-Google-Attributes: gid113ae9,public X-Google-Thread: 10a146,3df73e04f851a6c7 X-Google-Attributes: gid10a146,public X-Google-Thread: 1116f3,3df73e04f851a6c7 X-Google-Attributes: gid1116f3,public X-Google-Thread: 115d3b,3df73e04f851a6c7 X-Google-Attributes: gid115d3b,public X-Google-Thread: fdb77,3df73e04f851a6c7 X-Google-Attributes: gidfdb77,public X-Google-Thread: 10bb9b,3df73e04f851a6c7 X-Google-Attributes: gid10bb9b,public X-Google-Thread: f5e83,3df73e04f851a6c7 X-Google-Attributes: gidf5e83,public X-Google-ArrivalTime: 2001-02-20 09:39:12 PST From: "Berny" <bernyregeling@hetnet.nl> References: <96trij$4ns$1@defalla.upc.es> Subject: Re: Java memory Date: Tue, 20 Feb 2001 18:37:21 +0100 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: <exQrLP2mAHA.210@net005s.hetnet.nl> Newsgroups: comp.lang.java.advocacy,comp.lang.java.help,comp.lang.java.machine,comp.lang.java.programmer,comp.lang.java.security,comp.lang.java.softwaretools,de.comp.lang.java,es.comp.lenguajes.java NNTP-Posting-Host: ipd54b3be3.free.wxs.nl 213.75.59.227 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out.usenetserver.com!news3.bellglobal.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!npeer.kpnqwest.net!news2.kpn.net!news.kpn.net!master.news.hetnet.nl!news2.hetnet.nl