public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/27982]  New: Make gcj inline methods in java.nio.Buffer
@ 2006-06-09 22:01 daney at gcc dot gnu dot org
  0 siblings, 0 replies; only message in thread
From: daney at gcc dot gnu dot org @ 2006-06-09 22:01 UTC (permalink / raw)
  To: gcc-bugs

There are some optimization ideas in this e-mail thread (especially in the
leaves or the thread).

http://gcc.gnu.org/ml/java/2006-06/msg00030.html

Basically, Buffers have no accessable constructors, so the compiler knows that
there can be no user classes derived from Buffer.  Buffers can be treated much
like final classes and all Buffer methods could be inlined.

Many of the get and put methods could be inlined as if they were fancy array
accesses.


-- 
           Summary: Make gcj inline methods in java.nio.Buffer
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
 GCC build triplet: *-*-*
  GCC host triplet: *-*-*
GCC target triplet: *-*-*


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-09 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-09 22:01 [Bug java/27982] New: Make gcj inline methods in java.nio.Buffer daney 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).