want your help

Yongqiang Yang xiaoqiangnk at gmail.com
Tue Dec 7 18:40:14 PST 2010


Hi everyone,

I am porting hotspot to MIPS.  I meet a bug as follows.

In function Java_java_lang_ref_Finalizer_invokeFinalizeMethod,
value of jobject is right when call GetObjectClass and also right
before return from GetObjectClass . However,  it is wrong when
calling CallVoidMethod.   For example, It is changed from 0x3e0885d0
to 0x423ce794.
Thus, it results in an assert failure below.
------------------------------------------------------------------------------------------
  assert(SharedSkipVerify || obj->is_oop()) failed: sanity check
-------------------------------------------------------------------------------------------

I want to know who will change this value from return at GetObjectClass to
calling CallVoidMethod.  During this time, GC don't run.

Could anyone have an idea about this?


Thanks.

Yongqiang.
-- 
Best Wishes
Yongqiang Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20101208/d4ad956b/attachment.html 


More information about the hotspot-dev mailing list