public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/13214] GCJ uses surprsingly long to compile included example
  2003-11-28 11:18 [Bug java/13214] New: GCJ uses surprsingly long to compile included example oyvind dot harboe at zylin dot com
@ 2003-11-28 11:18 ` oyvind dot harboe at zylin dot com
  2003-11-28 17:58 ` [Bug middle-end/13214] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-28 11:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From oyvind dot harboe at zylin dot com  2003-11-28 11:18 -------
Created an attachment (id=5223)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5223&action=view)
Example file


-- 


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


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

* [Bug java/13214] New: GCJ uses surprsingly long to compile included example
@ 2003-11-28 11:18 oyvind dot harboe at zylin dot com
  2003-11-28 11:18 ` [Bug java/13214] " oyvind dot harboe at zylin dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-28 11:18 UTC (permalink / raw)
  To: gcc-bugs

I have larger programs that compile much more quickly.

\thisiscool-gcc-3.4\gcc-3.4\bin\gcj   test.jar -o test --
main=com.cyviz.xyzmodem.StackImpl

Also there is an issue with the app, it runs fine w/JRE, but does not run when 
compile w/GCJ:

Exception in thread "main" java.lang.Error: US-ASCII (java.lang.ClassNotFoundExc
eption: gnu.gcj.convert.Output_ASCII not found in [file:.\, core:/])
   at 0x0097600e (Unknown Source)
   at 0x00976502 (Unknown Source)
   at 0x0097d2b4 (Unknown Source)
   at 0x00938027 (Unknown Source)
   at 0x009393d3 (Unknown Source)
   at 0x0093904e (Unknown Source)
   at 0x00938fac (Unknown Source)
   at 0x00938f55 (Unknown Source)
   at 0x00928177 (Unknown Source)
   at 0x009a8d6e (Unknown Source)
   at 0x009a2d50 (Unknown Source)
   at 0x00974727 (Unknown Source)
   at 0x00974807 (Unknown Source)
   at 0x004012ea (Unknown Source)
   at 0x00401209 (Unknown Source)
   at 0x00401234 (Unknown Source)
   at 0x7c5987e3 (Unknown Source)

-- 
           Summary: GCJ uses surprsingly long to compile included example
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: oyvind dot harboe at zylin dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug middle-end/13214] GCJ uses surprsingly long to compile included example
  2003-11-28 11:18 [Bug java/13214] New: GCJ uses surprsingly long to compile included example oyvind dot harboe at zylin dot com
  2003-11-28 11:18 ` [Bug java/13214] " oyvind dot harboe at zylin dot com
@ 2003-11-28 17:58 ` pinskia at gcc dot gnu dot org
  2003-12-01  2:24 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-28 17:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-28 17:58 -------
I can confirm this but it looks like there is a large number of code aka the middle-end is slow part.
The other problem is static linking does not work correctly there is a PR for that.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|java                        |middle-end
     Ever Confirmed|                            |1
           Keywords|                            |compile-time-hog
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-28 17:58:23
               date|                            |


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


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

* [Bug middle-end/13214] GCJ uses surprsingly long to compile included example
  2003-11-28 11:18 [Bug java/13214] New: GCJ uses surprsingly long to compile included example oyvind dot harboe at zylin dot com
  2003-11-28 11:18 ` [Bug java/13214] " oyvind dot harboe at zylin dot com
  2003-11-28 17:58 ` [Bug middle-end/13214] " pinskia at gcc dot gnu dot org
@ 2003-12-01  2:24 ` pinskia at gcc dot gnu dot org
  2004-04-27 14:17 ` pinskia at gcc dot gnu dot org
  2004-11-30 18:31 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  2:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-01 02:23 -------
On the tree-ssa the problem is cause a lot by the java front-end (but I have an older version of the 
tree-ssa aka without the fix for bytecode compiling).

-- 


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


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

* [Bug middle-end/13214] GCJ uses surprsingly long to compile included example
  2003-11-28 11:18 [Bug java/13214] New: GCJ uses surprsingly long to compile included example oyvind dot harboe at zylin dot com
                   ` (2 preceding siblings ...)
  2003-12-01  2:24 ` pinskia at gcc dot gnu dot org
@ 2004-04-27 14:17 ` pinskia at gcc dot gnu dot org
  2004-11-30 18:31 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-27 14:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-27 14:04 -------
Back in the middle-end on the tree-ssa.  

Speeding up can happen by inlining rtx_alloc_stat for -O0 speedup.

For -O1 and above, inlining craph_edge would help a lot.

Putting these two functions in the headers and then declaring them as inline will help.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-12-17 02:32:15         |2004-04-27 14:04:31
               date|                            |


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


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

* [Bug middle-end/13214] GCJ uses surprsingly long to compile included example
  2003-11-28 11:18 [Bug java/13214] New: GCJ uses surprsingly long to compile included example oyvind dot harboe at zylin dot com
                   ` (3 preceding siblings ...)
  2004-04-27 14:17 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 18:31 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 18:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-30 18:30 -------
 dominator optimization:  17.89 ( 7%) usr   0.88 ( 4%) sys  21.48 ( 6%) wall
 expand                :  13.68 ( 5%) usr   0.81 ( 3%) sys  18.65 ( 6%) wall
 CSE                   :  53.15 (20%) usr   0.59 ( 2%) sys  60.06 (18%) wall
 CSE 2                 :  36.92 (14%) usr   0.18 ( 1%) sys  41.34 (12%) wall
 tree SSA other        :   6.88 ( 3%) usr   5.10 (21%) sys  13.43 ( 4%) wall
 tree PRE              :   5.38 ( 2%) usr   0.41 ( 2%) sys   6.24 ( 2%) wall
 PRE                   :   5.43 ( 2%) usr   0.58 ( 2%) sys   6.47 ( 2%) wall

CSE is just slow.

-- 


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


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

end of thread, other threads:[~2004-11-30 18:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 11:18 [Bug java/13214] New: GCJ uses surprsingly long to compile included example oyvind dot harboe at zylin dot com
2003-11-28 11:18 ` [Bug java/13214] " oyvind dot harboe at zylin dot com
2003-11-28 17:58 ` [Bug middle-end/13214] " pinskia at gcc dot gnu dot org
2003-12-01  2:24 ` pinskia at gcc dot gnu dot org
2004-04-27 14:17 ` pinskia at gcc dot gnu dot org
2004-11-30 18:31 ` pinskia 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).