Watch, Follow, &
Connect with Us
Public Report
Report From: Optimizeit/Profiler    [ Add a report in this area ]  
Report #:  13621   Status: Reported
Crash when loading a Java VM with "-Xrunpri" and non-standard heap
Project:  Optimizeit Build #:  031125
Version:    5.0 Submitted By:   Thomas Nagel
Report Type:  Basic functionality failure Date Reported:  6/13/2005 3:01:20 AM
Severity:    Serious / Highly visible problem Last Updated:
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
When starting a Java application with offline profiling or with remote profiling the Java VM crashes if a non-standard garbage collector was selected.

error shown, e.g. when trying to load JBoss 3.2.3

  JBoss Bootstrap Environment
  JBOSS_HOME: C:\jboss-3.2.3\bin\\..
  JAVA: c:\j2sdk1.4.2_08\bin\java
  JAVA_OPTS:  -Xrunpri:startAudit=t,port=1470,filter=C:\Optimizeit\OptimizeitEntSuite60/filters/DefaultAllOn.oif -Xbootc
lasspath/a:C:\Optimizeit\OptimizeitEntSuite60/lib/oibcp.jar -server -XX:+UseConcMarkSweepGC -XX:
+UseParNewGC -XX:ParallelGCThreads=2 -Xms128m -Xmx512m
  CLASSPATH: C:\Optimizeit\OptimizeitEntSuite60/lib/optit.jar ;c:\j2sdk1.4.2_08\lib\tools.jar;C:\jboss-3.2.3\bin\\run.ja
[error occured during error reporting]
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# Java VM: Java HotSpot(TM) Server VM (1.4.2_08-b03 mixed mode)
# Error ID: 5041522E455727454E45524154494F4E0E4350500146
# Problematic Thread: prio=10 tid=0x0023f2f0 nid=0x820 runnable

Heap at VM Abort:
par new generation   total 8128K, used 115K [0x10010000, 0x10810000, 0x10810000)
  eden space 8064K,   1% used [0x10010000, 0x1002cdf0, 0x107f0000)
  from space 64K,   0% used [0x107f0000, 0x107f0000, 0x10800000)
  to   space 64K,   0% used [0x10800000, 0x10800000, 0x10810000)
concurrent mark-sweep generation total 122880K, used 0K [0x10810000, 0x18010000, 0x30010000)
concurrent-mark-sweep perm gen total 16384K, used 871K [0x30010000, 0x31010000, 0x34010000)
Dr|cken Sie eine beliebige Taste . . .

Steps to Reproduce:
Edit the %joboss_home%/bin/run.bat file:

1. modify the JAVA_OPTS value
either "set JAVA_OPTS=%JAVA_OPTS% -server -XX:+UseParallelGC -Xms128m -Xmx512m"
or "JAVA_OPTS=%JAVA_OPTS% -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=2 -Xms128m -Xmx512m"

2. add the follwing lines after that:

set JBOSS_CLASSPATH=%OptItDir%/lib/optit.jar %JBOSS_CLASSPATH%

and for offline auditing
set JAVA_OPTS= -Xrunpri:auditOption=auditOptIt.txt,filter=%OptItDir%/filters/DefaultAllOn.oif -Xbootclasspath/a:%OptItDir%/lib/oibcp.jar %JAVA_OPTS%

or for remote auditing
set JAVA_OPTS= -Xrunpri:startAudit=t,port=1470,filter=%OptItDir%/filters/DefaultAllOn.oif -Xbootclasspath/a:%OptItDir%/lib/oibcp.jar %JAVA_OPTS%

3. start JBOSS by invoking the run.bat

the JVM used was 1.4.2_08
keep the standard garbage collector

Thomas Nagel at 6/13/2005 5:52:17 AM -
it was actually OptimizeIt version 6.0, but I cound not select 6.0

Thomas Nagel at 6/15/2005 8:12:45 AM -
does anybody actually read these reps? or are they only a pacifier for the disappointed customers?

Server Response from: ETNACODE01