Request for reviews (S): 6998985: faulty generic arraycopy on windows x86_64: 4th arg overwritten with oop
christian.thalinger at oracle.com
Thu Nov 18 08:12:20 PST 2010
JPRT found a bug. I have to look what goes wrong. -- Christian
On Nov 17, 2010, at 6:54 PM, Tom Rodriguez wrote:
> Looks good.
> On Nov 17, 2010, at 8:42 AM, Christian Thalinger wrote:
>> 6998985: faulty generic arraycopy on windows x86_64: 4th arg
>> overwritten with oop
>> There is a problem concerning generic arraycopy on windows x86_64.
>> windows, the stub gets its 4th argument in register r9. The register
>> gets overwritten by an oop. In most cases, the subsequent range
>> will fail and the copy will be done over the slow path. However,
>> depending on the oops address, the range check might succeed and the
>> copy lead to wrong results.
>> Tested with failing testcase.
More information about the hotspot-compiler-dev