JDK-6700102 : c2 assertion "counter_changed,"failed dependencies, but counter didn't change")" with AggressiveOpts
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs12
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-05-10
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u14Fixed 7Fixed hs13Fixed
Related Reports
Relates :  
Problem Description    : c2 fails with asserttion 
 (counter_changed,"failed dependencies, but counter didn't change")
 in case AggressiveOpts is used.

Java Release            : hs12
Java Builds             : b03
VM flavors              : server
VM Modes                : -Xmixed |-Xcomp
Java flags              : -XX:+AggressiveOpts
Platform(s)             : all

Error Log : 
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/ciEnv.cpp:778
# A fatal error has been detected by the Java Runtime Environment:
#  Internal Error (/tmp/jprt-jprtadm/temp/P1/B/023812.phh/source/hotspot/src/share/vm/ci/ciEnv.cpp:778), pid=24499, tid=8
#  Error: assert(counter_changed,"failed dependencies, but counter didn't change")
# Java VM: Java HotSpot(TM) Server VM (12.0-b03-2008-04-29-023812.phh.jdk6-0_06p-fastdebug mixed mode solaris-sparc)
# An error report file with more information is saved as:
# /export/local/5507.JDK_PERFORMANCE.PROMOTION.VM+solaris-sparc_server_comp_HS_REGRESSION/results/closed/compiler/6389127/Test/hs_err_pid24499.log
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp

EVALUATION Bytecode Escape Analyzer does not have the check for the case described in 6389127 (for which the test case was created). Solution: Copy 6389127 fix from C1.