From: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
To: Jeff Sturm <jsturm@one-point.com>
Cc: java@gcc.gnu.org, gcc@gcc.gnu.org
Subject: Re: java aliasing rules
Date: Fri, 05 Apr 2002 01:07:00 -0000 [thread overview]
Message-ID: <3CAD2A36.6000709@waitaki.otago.ac.nz> (raw)
In-Reply-To: <Pine.LNX.4.10.10204042252160.15423-100000@mars.deadcafe.org>
Jeff Sturm wrote:
>On Fri, 5 Apr 2002, Bryce McKinlay wrote:
>
>>Turning it off (although note that currently it isn't *on* in the first
>>place ;-) should be as simple as turning off -fnon-call-exceptions. Then
>>dereferences won't have flow edges and things can be reordered across
>>them. Unfortunately that will also have the side-effect of not
>>generating unwind info for leaf functions.
>>
>
>Well, sure... leaf functions have no use for unwind info if they will
>never throw.
>
Right but you get an abort instead of a NullPointerException with maybe
not-quite-perfect semantics. Probibly this is easily fixed though.
>>I'd actually be fairly surprised if you were able to measure any large
>>difference in performance between the two. Note that hopefully a
>>dereference will only have an edge the first time it is dereferenced.
>>
>
>Agreed. It may be hard to measure all right, I find that "real" Java
>programs usually suffer from other bottlenecks like synchronization or GC.
>
>For that matter I don't know if there are any large general improvements
>to be made in gcj. Most of the low-hanging fruit are gone.
>
I think major improvements can still be made to type checking, both by
avoiding them and speeding them up in the first place (ie inlining the
simple ones and optimizing the layout of class info). Method inlining
could be vastly improved. Automatic bounds check elimination could speed
things up a lot. I have a patch to do inline divide checking instead of
using the divide subroutine which speeds some tests up by 4X on powerpc.
regards
Bryce.
prev parent reply other threads:[~2002-04-05 4:39 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-27 11:43 Dan Nicolaescu
2002-03-27 13:53 ` Tom Tromey
2002-03-27 16:03 ` Dan Nicolaescu
2002-03-27 16:47 ` Tom Tromey
2002-03-27 20:00 ` Dan Nicolaescu
2002-03-27 15:54 ` Bryce McKinlay
2002-03-27 16:45 ` Tom Tromey
2002-03-28 22:02 ` Bryce McKinlay
2002-03-28 22:13 ` Richard Henderson
2002-03-28 22:15 ` Tom Tromey
2002-03-29 15:22 ` Bryce McKinlay
2002-03-29 16:26 ` Richard Henderson
2002-03-30 6:37 ` Jeff Sturm
2002-03-30 13:55 ` Richard Henderson
2002-03-30 15:04 ` Bryce McKinlay
2002-04-04 10:57 ` Jeff Sturm
2002-04-04 12:57 ` Andrew Haley
2002-04-04 14:20 ` Jeff Sturm
2002-04-04 17:04 ` Bryce McKinlay
2002-04-04 20:39 ` Jeff Sturm
2002-04-05 1:07 ` Bryce McKinlay [this message]
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=3CAD2A36.6000709@waitaki.otago.ac.nz \
--to=bryce@waitaki.otago.ac.nz \
--cc=gcc@gcc.gnu.org \
--cc=java@gcc.gnu.org \
--cc=jsturm@one-point.com \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).