United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6503017 assert(fr().is_deoptimized_frame(),"frame must be scheduled for deoptimization")
JDK-6503017 : assert(fr().is_deoptimized_frame(),"frame must be scheduled for deoptimization")

Details
Type:
Bug
Submit Date:
2006-12-11
Status:
Resolved
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2007-01-17
Component:
hotspot
OS:
linux
Sub-Component:
compiler
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10 (b06)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Nightly test of this test 

nsk.jdwp.StackFrame.SetValues.setvalues001

failed after patchless deopt was putback.
From the putback comment:

This was caused by patchless deopt. Basically when the setvalue code is used
for a compiled frame it deopts it so that the debuggers can see (and set) the
locals in the interpreter frame. The assert fired because the compiled vframe
was the the frame before the deopt occurred. The code actually worked fine but
the assert I put in to be sure that we deopted before trying to set the values
fired. The fix is to re-read the frame after the deopt is scheduled.

                                    

Comments
EVALUATION

From the putback comment:

This was caused by patchless deopt. Basically when the setvalue code is used
for a compiled frame it deopts it so that the debuggers can see (and set) the
locals in the interpreter frame. The assert fired because the compiled vframe
was the the frame before the deopt occurred. The code actually worked fine but
the assert I put in to be sure that we deopted before trying to set the values
fired. The fix is to re-read the frame after the deopt is scheduled.
                                     
2007-01-17



Hardware and Software, Engineered to Work Together