From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7ee10ec601726fbf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-15 15:17:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3BCB6058.80F93F5E@sparc01.ftw.rsc.raytheon.com> From: Wes Groleau Reply-To: wwgrol@sparc01.ftw.rsc.raytheon.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: is Ada dying? References: <3BC30674.BA88AAB6@brighton.ac.uk> <9pvv3t$ves$1@news.huji.ac.il> <9q42jo$lu8$1@news1.sunrise.ch> <9q95lm$b4l$1@news.huji.ac.il> <3bca9c74.1660187@news.demon.co.uk> <9qedg903km@drn.newsguy.com> <3bcb08bc.29380186@news.demon.co.uk> <9qffea02r59@drn.newsguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 15 Oct 2001 17:16:56 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 1003184260 151.168.144.162 (Mon, 15 Oct 2001 18:17:40 EDT) NNTP-Posting-Date: Mon, 15 Oct 2001 18:17:40 EDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:14612 Date: 2001-10-15T17:16:56-05:00 List-Id: minyard@acm.org wrote: > > Robert*@ writes: > > yes. In Java, if you have an empty class it will have a size of 24 bytes. > > a class which has nothing but an 'int' in it, is 32 bytes. A class with > > nothing in it but one String reference (null) is 50 bytes. So an > > object ref byitself uses 26 bytes overhead. > > This is implementation and processor dependent. I assume you are > talking about some specific version of Sun's JVM. I'm also not sure The class file format for different JVMs is different? I don't think so. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau