Request for Review (S) 6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck tests crashes or make tnameserv crash

Changpeng Fang Changpeng.Fang at Sun.COM
Thu Oct 29 18:41:53 PDT 2009


http://cr.openjdk.java.net/~cfang/6852078/webrev.01/

Kevin developed a very nice small test case to expose the problem (many 
Thanks!!
-- it makes life much easier). I included it in the regression test 
(webrev.01 is the update).

Thanks,

Changpeng





On 10/29/09 17:04, Changpeng Fang wrote:
> Was sent  to the gc mailing list. Resend to the correct compiler list. 
> Thanks,
>
>> http://cr.openjdk.java.net/~cfang/6852078/webrev.00/
>>
>> Note that I am requesting for change to the current jdk source (For 
>> the SubCR)
>>
>> 6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck 
>> tests crashes or make tnameserv crash
>>
>> Problem: Current implementation of superword optimization does not 
>> check for unsafe memory accesses. Since
>> unsafe memory accesses could not be aligned appropriately without 
>> runtime checking, a un-aligned superword
>> read/write could cause runtime failure.
>>
>> Solution: Simply disable superword for unsafe memory access whose 
>> base is top.
>>
>> Tests: Test case in 6852078
>>
>> Thanks,
>>
>> Changpeng
>>
>>
>



More information about the hotspot-compiler-dev mailing list