Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26145

Re: Why “new”?

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.247.MISMATCH!news-out.readnews.com!transit3.readnews.com!news.glorb.com!news-xfer.nntp.sonic.net!posts.news.sonic.net!nnrp0.nntp.sonic.net!not-for-mail
From Kevin McMurtrie <mcmurtrie@pixelmemory.us>
Newsgroups comp.lang.java.programmer
Subject Re: Why “new”?
References <iii71v$3ud$1@lust.ihug.co.nz> <4d4ca255$0$23765$14726298@news.sunsite.dk> <iii8s4$4tt$1@lust.ihug.co.nz> <iii9dq$3pr$1@news.eternal-september.org> <iiiaia$5t9$1@lust.ihug.co.nz> <iiicja$epf$1@news.eternal-september.org>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-Face #tdH+D1#njA1e^CLB^/(2]&X!c><$I]~!twG8kd3Ny41&5}K7Vyg"?Qs,G<{zMHK5h5@itD <+6=*QG@h3RactCyNsI2qChmy)Bl7)BlQPBND4,`9N|NaHykv%.u"Z\?S5^TZ="q568?wU.Aa"/n9} Ru\Cn'?7P@m.!dc}6Vp{Ua_NjHr\o7w?C^HC"u\'bU&9hI_SMAX|i8)};lfJF-wS~4cL{E8YI"U4$o _<qSZ<w)
Date Fri, 04 Feb 2011 21:31:08 -0800
Lines 27
Message-ID <4d4ce09c$0$22122$742ec2ed@news.sonic.net> (permalink)
Organization Sonic.Net
NNTP-Posting-Date 05 Feb 2011 05:31:09 GMT
NNTP-Posting-Host 952590b4.news.sonic.net
X-Trace DXC=@WK[MKj<;:LhZ=>cRWRmMAm4K\QM1CV^@1OYf0H`?;XALd]Y>G>D=JL=i`3mDRBA_JAni8>YUM44O8ATSWPFBbiM
X-Complaints-To abuse@sonic.net
Xref csiph.com comp.lang.java.programmer:26145

Show key headers only | View raw


In article <iiicja$epf$1@news.eternal-september.org>,
 "Mike Schilling" <mscottschilling@hotmail.com> wrote:

> "Lawrence D'Oliveiro" <ldo@geek-central.gen.new_zealand> wrote in message 
> news:iiiaia$5t9$1@lust.ihug.co.nz...
> > In message <iii9dq$3pr$1@news.eternal-september.org>, Mike Schilling 
> > wrote:
> >
> >> "Lawrence D'Oliveiro" <ldo@geek-central.gen.new_zealand> wrote in message
> >> news:iii8s4$4tt$1@lust.ihug.co.nz...
> >>>
> >>> You already have that confusion, when every method declaration in Java 
> >>> is
> >>> effectively virtual, unlike C++.
> >>
> >> That's not true, you know.
> >
> > No, I don’t know. Please explain.
> 
> Private methods are not virtual, nor are static methods. 

And HotSpot may change methods between static and virtual at runtime 
too.  It's an expensive optimization but it's how Java sometimes 
achieves performance comparable to C.  Without it, it would never come 
close.
-- 
I will not see posts or email from Google because I must filter them as spam

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 13:53 +1300
  Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 09:07 -0500
  Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 16:51 +1300
    Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-04 23:06 -0500
    Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 19:45 +1300
      Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-05 10:32 -0500
    Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-04 23:40 -0500
    Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:15 -0500
  Re: Why “new”? blmblm@myrealbox.com <blmblm@myrealbox.com> - 2011-02-09 15:31 +0000
  Re: Why ?new?? Owen Jacobson <angrybaldguy@gmail.com> - 2011-02-05 10:46 -0500
  Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 19:29 +1300
    Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 09:22 -0500
    Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-05 10:41 -0500
  Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-05 10:38 -0500
  Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-04 23:43 -0500
    Re: Why “new”? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-02-05 09:31 -0400
  Re: Why “new”? Daniele Futtorovic <da.futt.news@laposte.net.invalid> - 2011-02-05 18:43 +0100
  Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-04 20:05 -0500
    Re: Why “new”? "Mike Schilling" <mscottschilling@hotmail.com> - 2011-02-04 17:33 -0800
      Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 09:13 -0500
      Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 14:53 +1300
        Re: Why “new”? Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2011-02-04 21:31 -0800
          Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 01:25 -0500
    Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 14:24 +1300
  Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-04 23:47 -0500
  Re: Why “new”? Daniele Futtorovic <da.futt.news@laposte.net.invalid> - 2011-02-05 02:09 +0100

csiph-web