JDK-6968367 : can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:hs19
Priority:P3
Status:Closed
Resolution:Fixed
OS:solaris_9
CPU:sparc
Submitted:2010-07-12
Updated:2011-04-23
Resolved:2011-04-23
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.
EVALUATION
6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
Reviewed-by: kvn, twisti
The fix for 6902182 changed some call sites where deopt is needed to
call directly into deoptimize_frame instead of using
VM_DeoptimizeFrame but it missed quite a few places, particularly in
the client compiler. Instead of directly modifying each site to use
the appropriate version I modified Deoptimization::deoptimize_frame to
select the appropriate version, made VM_DeoptimizeFrame private, and
updated all call sites to use the main entry point. Tested with all
the nsk JVMTI tests.