JDK-6962688 : JVM failed w/ 'guarantee((retry_count++ < 100),..."' while being profiled w/ NetBeans6.8
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 6u20,6u21,6u29,6u31
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_vista,windows_7
  • CPU: x86
  • Submitted: 2010-06-21
  • Updated: 2023-12-13
  • Resolved: 2016-12-07
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
JVM of JRE 6 Update 20 crashed with the following error message, while Java 
Web Start app was being profiled w/ NetBeans6.8 profiler:

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (sharedRuntime.cpp:874), pid=5108, tid=4284
#  Error: guarantee((retry_count++ < 100),"Could not resolve to latest version of redefined method")
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing windows-x86 ) 

The issue was reported for Windows Vista SP2.
NetBeans 6.8 profiler3 was used.

Comments
Seems this is fixed in JDK 16 via JDK-8257993
20-09-2022

This is not on our list of current priorities. If this changes, please reopen this issue.
07-12-2016

As I understood from the duplicated bug 6776659 there is a workaround which is to use one of the VM flags: -Xint or -server.
21-08-2013