This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: Performance of GCJ JNI and CNI


Vaijayanthi Mala Suresh wrote:

> In case of more time spent on Java, what can be done to improve the performance.
> 
> While using CNI do we need to consider anything special like
> optimization flags, gcj configuration flags, initialization steps,
> etc.,
> 
> I would like to reduce the startup time as well. It takes some time
> before starting the application for performing the Registration of
> all the java packages(packages other than standard).

I'm surprised by that.  All that class registration does is add
classes to a table.  All the initialization happens later, when
the class is first used.

> Can you please help me with some optimization techniques which I would
> like to try it out for any performance improvements.

None of us has the slightest idea what might be causing your problems.
Obviously, you will be compiling everything with -O2 or better.

We need you to send us an example of poor performance.

Andrew.


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