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: Memory residence


> Generally speaking, AOT compilers like GCJ are known to be
> advantageous to JVMs which interpret and/or compile Java bytecode.

Also in start-up time of an application.

I measured the time to start up Eclipse 3.1M6 with Sun JDK, IBM JDK
and GCJ 4.0 on a linux computer. GCJ 4.0 and a compiled version of
Eclipse is part of development version of Fedora Core 4.

  Sun JDK 1.5.0_03:    a little over 11 sec.
  IBM JDK 1.4.2 SR1a:  15 sec.
  GCJ 4.0:             27 sec.

Note that IBM JDK provides a single JVM (and JIT) optimized for both
throughput and start-up time while Sun offers HotSpot Server VM and
Client VM for each goal. The way IBM took is more challenging.

Anyway, GCJ-compiled native binary took much time to start up.
Can it be improved somehow?

Or, does gij run in much part of Eclipse?
I do not believe so because I see many shared libraries
generated from Java classes under /usr/lib/eclipse/:

  plugins/org.apache.ant_1.6.2/lib/ant-apache-bsf.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-commons-net.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-icontract.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-jai.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-javamail.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-netrexx.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-starteam.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-stylebook.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-vaj.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-weblogic.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-xalan1.jar.so
  plugins/org.apache.ant_1.6.2/lib/ant-xslp.jar.so
  plugins/org.apache.lucene_1.4.3/lucene-1.4.3.jar.so
  plugins/org.apache.lucene_1.4.3/parser.jar.so
  plugins/org.eclipse.ant.core_3.1.0/antsupport.jar.so
  plugins/org.eclipse.ant.core_3.1.0/lib/antsupportlib.jar.so
  plugins/org.eclipse.ant.ui_3.1.0/antui.jar.so
  plugins/org.eclipse.ant.ui_3.1.0/lib
  plugins/org.eclipse.ant.ui_3.1.0/lib/antrunner.jar.so
  plugins/org.eclipse.ant.ui_3.1.0/lib/remoteAnt.jar.so
  plugins/org.eclipse.compare_3.1.0/compare.jar.so
  plugins/org.eclipse.core.boot_3.0.0/boot.jar.so
  plugins/org.eclipse.core.commands_3.1.0.jar.so
  plugins/org.eclipse.core.expressions_3.1.0.jar.so
  plugins/org.eclipse.core.filebuffers_3.1.0/filebuffers.jar.so
  plugins/org.eclipse.core.resources.compatibility_3.1.0/compatibility.jar.so
  plugins/org.eclipse.core.resources_3.1.0/ant_tasks/resources-ant.jar.so
  plugins/org.eclipse.core.resources_3.1.0/resources.jar.so
  plugins/org.eclipse.core.runtime.compatibility_3.1.0/compatibility.jar.so
  plugins/org.eclipse.core.runtime_3.1.0.jar.so
  plugins/org.eclipse.core.variables_3.1.0/variables.jar.so
  plugins/org.eclipse.debug.core_3.1.0/dtcore.jar.so
  plugins/org.eclipse.debug.ui_3.1.0/dtui.jar.so
  plugins/org.eclipse.help.appserver_3.1.0.jar.so
  plugins/org.eclipse.help.base_3.1.0.jar.so
  plugins/org.eclipse.help.ui_3.1.0.jar.so
  plugins/org.eclipse.help.webapp_3.1.0/WEB-INF/lib/jsp.jar.so
  plugins/org.eclipse.help.webapp_3.1.0/WEB-INF/lib/servlets.jar.so
  plugins/org.eclipse.help.webapp_3.1.0/webapp.jar.so
  plugins/org.eclipse.help_3.1.0.jar.so
  plugins/org.eclipse.ltk.core.refactoring_3.1.0/refcore.jar.so
  plugins/org.eclipse.ltk.ui.refactoring_3.1.0/refui.jar.so
  plugins/org.eclipse.osgi.services_3.0.0/services.jar.so
  plugins/org.eclipse.osgi.util_3.0.0/util.jar.so
  plugins/org.eclipse.osgi_3.1.0.jar.so
  plugins/org.eclipse.platform.doc.isv_3.1.0/activeHelpSample.jar.so
  plugins/org.eclipse.platform_3.1.0/platform.jar.so
  plugins/org.eclipse.search_3.1.0/search.jar.so
  plugins/org.eclipse.team.core_3.1.0/team.jar.so
  plugins/org.eclipse.team.cvs.core_3.1.0/cvs.jar.so
  plugins/org.eclipse.team.cvs.ssh2_3.1.0/cvsssh2.jar.so
  plugins/org.eclipse.team.cvs.ssh2_3.1.0/jsch-0.1.16.jar.so
  plugins/org.eclipse.team.cvs.ssh2_3.1.0/jsch-0.1.17.jar.so
  plugins/org.eclipse.team.cvs.ssh_3.1.0/teamcvsssh.jar.so
  plugins/org.eclipse.team.cvs.ui_3.1.0/teamcvsui.jar.so
  plugins/org.eclipse.team.ui_3.1.0/teamui.jar.so
  plugins/org.eclipse.text_3.1.0/text.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/bootstrap.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/catalina.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/commons-beanutils.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/commons-collections.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/commons-digester.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/commons-logging-api.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/commons-logging.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/commons-modeler.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/jakarta-regexp-1.3.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/jasper-compiler.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/jasper-runtime.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/mx4j-jmx.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/naming-common.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/naming-factory.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/naming-resources.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/servlet.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/servlets-common.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/servlets-default.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/servlets-invoker.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/servlets-manager.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/tomcat-coyote.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/tomcat-http11.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/tomcat-util.jar.so
  plugins/org.eclipse.tomcat_4.1.30.1/tomcatwrapper.jar.so
  plugins/org.eclipse.ui.browser_3.1.0/browser.jar.so
  plugins/org.eclipse.ui.cheatsheets_3.0.0/cheatsheets.jar.so
  plugins/org.eclipse.ui.console_3.1.0/console.jar.so
  plugins/org.eclipse.ui.editors_3.1.0/editors.jar.so
  plugins/org.eclipse.ui.externaltools_3.1.0/externaltools.jar.so
  plugins/org.eclipse.ui.forms_3.1.0.jar.so.bak
  plugins/org.eclipse.ui.ide_3.1.0.jar.so
  plugins/org.eclipse.ui.intro_3.1.0.jar.so
  plugins/org.eclipse.ui.presentations.r21_3.1.0.jar.so
  plugins/org.eclipse.ui.views_3.1.0.jar.so
  plugins/org.eclipse.ui.workbench.compatibility_3.1.0/compatibility.jar.so
  plugins/org.eclipse.ui.workbench.texteditor_3.1.0/texteditor.jar.so
  plugins/org.eclipse.ui.workbench_3.1.0.jar.so.bak
  plugins/org.eclipse.ui_3.1.0.jar.so
  plugins/org.eclipse.update.configurator_3.1.0.jar.so
  plugins/org.eclipse.update.core_3.1.0.jar.so
  plugins/org.eclipse.update.scheduler_3.1.0.jar.so
  plugins/org.eclipse.update.ui_3.1.0.jar.so
  startup.jar.so


  Kazuyuki Shudo	shudo@computer.org	http://www.shudo.net/


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