Request for reviews (XS): 6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization

Changpeng Fang Changpeng.Fang at Sun.COM
Fri Jun 5 09:08:10 PDT 2009


http://cr.openjdk.java.net/~cfang/6848466/webrev.00/

Fixed 6848466: frame::frame_size() assertion failure with 
-XX:+DebugDeoptimization

Problem:
The current implementation of frame::frame_size for X86 builds 
RegisterMap from
the current thread. This only works for the top frame, and will cause 
assertion failure
for other frames. For the server vm, -XX:DeoptimizeALot 
-XX:+DebugDeoptimizatiuon
exposes the problem.

Solution:
Add an argument (RegisterMap *map) for frame::frame_size, and the caller 
is responsible
for providing a RegisterMap for frame::frame_size to compute the sender 
frame.

Thanks,

Changpeng
 



More information about the hotspot-compiler-dev mailing list