読者です 読者をやめる 読者になる 読者になる

nekop's blog

OpenShift / JBoss / WildFly / Infinispanの中の人 http://twitter.com/nekop

Oracle Java / OpenJDKの7と8でWildFly 8.0.0.Finalの起動時間

Java 8が若干遅い。詳細はまだ調べていない。

  • Dell Latitude E6320, Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz 4 core, 16GB memory, WDC WD5000BEKT 7200rpm
  • Fedora 20 64bit
  • -Xmn256m -Xms512m -Xmx512m -Xverify:none -XX:+UseConcMarkSweepGC -XX:+TieredCompilation -XX:TieredStopAtLevel=1
$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
$ ./standalone.sh | grep 'started in'
11:44:55,666 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final "WildFly" started in 1327ms - Started 183 of 232 services (80 services are lazy, passive or on-demand)
$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (fedora-2.4.5.1.fc20-x86_64 u51-b31)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
$ ./standalone.sh | grep 'started in'
11:47:09,992 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final "WildFly" started in 1298ms - Started 183 of 232 services (80 services are lazy, passive or on-demand)
$ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
$ ./standalone.sh | grep 'started in'
11:50:27,547 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final "WildFly" started in 1602ms - Started 183 of 232 services (80 services are lazy, passive or on-demand)
$ java -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-0)
OpenJDK 64-Bit Server VM (build 25.0-b67-internal, mixed mode)
$ ./standalone.sh | grep 'started in'
11:51:17,408 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final "WildFly" started in 1553ms - Started 183 of 232 services (80 services are lazy, passive or on-demand)