4 Replies Latest reply on Feb 18, 2005 1:14 PM by seanboltman

    Why is -XX:+UseParallelGC causing the JVM

    seanboltman

      Why does including UseParallelGC cause my JBOSS server startup JVM to crash? (see below)?

      Note: taking this jvm argument (UseParallelGC) out results in everything starting up fine.

      java version:
      java version "1.4.2_03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

      JBOSS 4.0.1


      Startup logging:

      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/jboss

      JAVA: /usr/local/jdk/bin/java

      JAVA_OPTS: -server -Xmx600m -XX:+UseParallelGC -XX:ThreadStackSize=256 -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Dprogram.name=run.sh

      CLASSPATH: /usr/local/jboss/bin/run.jar:/usr/local/jdk/lib/tools.jar

      =========================================================================

      17:15:10,122 INFO [Server] Starting JBoss (MX MicroKernel)...
      17:15:10,124 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)
      17:15:10,124 INFO [Server] Home Dir: /usr/local/jboss-4.0.1
      17:15:10,124 INFO [Server] Home URL: file:/usr/local/jboss-4.0.1/
      17:15:10,125 INFO [Server] Library URL: file:/usr/local/jboss-4.0.1/lib/
      17:15:10,126 INFO [Server] Patch URL: null
      17:15:10,126 INFO [Server] Server Name: EpokTDX
      17:15:10,126 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.1/server/EpokTDX
      17:15:10,127 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.1/server/EpokTDX/
      17:15:10,127 INFO [Server] Server Data Dir: /usr/local/jboss-4.0.1/server/EpokTDX/data
      17:15:10,127 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.1/server/EpokTDX/tmp
      17:15:10,127 INFO [Server] Server Config URL: file:/usr/local/jboss-4.0.1/server/EpokTDX/conf/
      17:15:10,128 INFO [Server] Server Library URL: file:/usr/local/jboss-4.0.1/server/EpokTDX/lib/
      17:15:10,128 INFO [Server] Root Deployment Filename: jboss-service.xml
      17:15:10,133 INFO [Server] Starting General Purpose Architecture (GPA)...
      17:15:10,755 INFO [ServerInfo] Java version: 1.4.2_03,Sun Microsystems Inc.
      17:15:10,755 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_03-b02,Sun Microsystems Inc.
      17:15:10,755 INFO [ServerInfo] OS-System: Linux 2.4.21-9.0.1.ELsmp,i386
      17:15:11,337 INFO [Server] Core system initialized
      17:15:14,638 INFO [ServiceBindingManager] Initializing store
      17:15:14,638 INFO [ServiceBindingManager] Using StoreURL: file:/usr/local/jboss-4.0.1/epok-service-bindings.xml
      17:15:15,893 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      17:15:16,064 INFO [WebService] Using RMI server codebase: http://arkab.sea.epokinc.com:8083/
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
      #
      # Error happened during: parallel gc system gc
      #
      # Error ID: 50532D41524B33574545500E435050011A
      #
      # Thread requesting VM operation: prio=1 tid=0x08577de8 nid=0x567e waiting on condition
      #

      Heap at VM Abort:
      Heap
      PSYoungGen total 7872K, used 1512K [0x893d0000, 0x89db0000, 0x8c1f0000)
      eden space 5632K, 0% used [0x893d0000,0x893d0000,0x89950000)
      from space 2240K, 67% used [0x89b80000,0x89cfa130,0x89db0000)
      to space 2240K, 0% used [0x89950000,0x89950000,0x89b80000)
      PSOldGen total 5504K, used 2123K [0x8c1f0000, 0x8c750000, 0xaebd0000)
      object space 5504K, 38% used [0x8c1f0000,0x8c402fc8,0x8c750000)
      PSPermGen total 6272K, used 6154K [0xaebd0000, 0xaf1f0000, 0xb2bd0000)
      object space 6272K, 98% used [0xaebd0000,0xaf1d2a90,0xaf1f0000)
      /usr/local/jboss/bin/run.sh: line 181: 22142 Aborted "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"