public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/25934]  New: fast instanceof checking
@ 2006-01-23 23:31 tromey at gcc dot gnu dot org
  2006-01-24  0:46 ` [Bug libgcj/25934] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-01-23 23:31 UTC (permalink / raw)
  To: java-prs

instanceof (and checkcast, etc) are fairly slow in gcj currently.
Here are a couple of papers on the topic of speeding this up:

http://lambda-the-ultimate.org/node/view/1218
http://people.csail.mit.edu/jrb/pve/index.htm


-- 
           Summary: fast instanceof checking
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25934


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/25934] fast instanceof checking
  2006-01-23 23:31 [Bug libgcj/25934] New: fast instanceof checking tromey at gcc dot gnu dot org
@ 2006-01-24  0:46 ` pinskia at gcc dot gnu dot org
  2006-03-15 20:26 ` tromey at gcc dot gnu dot org
  2006-12-07 18:37 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-24  0:46 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-24 00:46 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-24 00:46:17
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25934


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/25934] fast instanceof checking
  2006-01-23 23:31 [Bug libgcj/25934] New: fast instanceof checking tromey at gcc dot gnu dot org
  2006-01-24  0:46 ` [Bug libgcj/25934] " pinskia at gcc dot gnu dot org
@ 2006-03-15 20:26 ` tromey at gcc dot gnu dot org
  2006-12-07 18:37 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-03-15 20:26 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2006-03-15 20:26 -------
Now I think we don't need to do anything here.
We already handle the common cases.

For instance, if the target is an interface we will use
the IDT to do this test.  This is reasonably fast.

Also if both classes in question are concrete, we will
use the 'ancestors' array to do a constant-time check.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25934


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/25934] fast instanceof checking
  2006-01-23 23:31 [Bug libgcj/25934] New: fast instanceof checking tromey at gcc dot gnu dot org
  2006-01-24  0:46 ` [Bug libgcj/25934] " pinskia at gcc dot gnu dot org
  2006-03-15 20:26 ` tromey at gcc dot gnu dot org
@ 2006-12-07 18:37 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-12-07 18:37 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from tromey at gcc dot gnu dot org  2006-12-07 18:37 -------
Nothing to do -- not sure why I didn't close it earlier.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25934


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-12-07 18:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-23 23:31 [Bug libgcj/25934] New: fast instanceof checking tromey at gcc dot gnu dot org
2006-01-24  0:46 ` [Bug libgcj/25934] " pinskia at gcc dot gnu dot org
2006-03-15 20:26 ` tromey at gcc dot gnu dot org
2006-12-07 18:37 ` tromey at gcc dot gnu dot org

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).