JDK-4955193 : 1.3.1 wrong guarantee in C2 runtime exception handling code
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.3.1_09
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2003-11-17
  • Updated: 2014-09-23
  • Resolved: 2003-11-20
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
An iplanet web server 6.0sp6 which runs 1.3.1_09 fails in reconfig:
It was failing also 6.0sp5 + 1.3.1_07 with or without tracing options enabled, with the same errorid  (52554E54494D450E4350500624 means runtime.cpp, 1572)

We can trace compilations using the following options

config/magnus.conf:
	StackSize 1024000

config/jvm12.conf:
	jvm.option=-XX:+PrintCompilation
	jvm.option=-Xbatch
	jvm.option=-XX:-BackgroundCompilation
	jvm.option=-verbose:jni
	jvm.option=-Xcheck:jni
	jvm.option=-XX:+ShowMessageBoxOnError

we get a message from a guarantee()

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
b  com.iplanet.server.http.util.XmlNode$XmlIterator::next
...
Adding web application (/installwizard2)  at
(/reports/www/nds/webapps/installwizard2)
Adding web application (/supplysponsor) at
(/reports/www/nds/webapps/supplysponsor)

!b org.apache.commons.digester.Digester::endElement
...
Error ID: 52554E54494D450E4350500624 01
...
Internal Error
Fatal: expected compilation of this method to bail out; see bug 4307310
Do you want to debug the problem?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The Fatal message which differs from the usual "An error has just occurred, do you want to debug the problem?" comes from jvm runtime.cpp, 1572

The whole log is available in attachment or from:
/net/lira.italy.sun.com/pts/AMER/63449920_BI/oct_17/errors-ndstest
http://pluto.italy.sun.com/Case/BI-PERFORMANCE-SERVICES/63449920/oct_17/errors-ndstest



Comments
WORK AROUND exclude latest compiled methods using .hotspot_compiler The list of methods to exclude could change depending on the web application deployed Using some known problems with unexpected exceptions raised after the use of Digester.endElement (see for example 4741523,4614925) we get a list of methods which could be suitable for this problem, but not for other webapp: exclude org/apache/commons/digester/Digester endElement exclude org/apache/commons/digester/CallParamRule end exclude org/apache/commons/digester/SetNextRule end
11-06-2004

EVALUATION Without a running a test case, I concur that this bug is likely a duplicate of 4546590. It would advisable to add the fix for 4870175, too. CTE will have to help with getting it into 1.3.1_XX. ###@###.### 2003-11-17 ----------------------------------- ###@###.### 2003-12-10 Customer is not interested in the fix anymore as they are moving to another setup. Fix will be added if requested in future.
10-12-2003