This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/27982] New: Make gcj inline methods in java.nio.Buffer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]