From: Laurence H. (JIRA) <ji...@co...> - 2010-10-12 20:43:40
|
aligned32Copy can copy 8 bytes when number of bytes to copy is 0 ---------------------------------------------------------------- Key: RVM-900 URL: http://jira.codehaus.org/browse/RVM-900 Project: RVM Issue Type: Bug Components: Runtime Affects Versions: 3.1.1 Environment: ia32 with SSE2 enabled Reporter: Laurence Hellyer Assignee: Daniel Frampton Fix For: 3.1.2 Attachments: RVM-900.patch when BYTES_IN_COPY == 8 then aligned32Copy in org.jikesrvm.runtime.Memory can incorrectly copy 8 bytes (4bytes + 4 bytes) when src is 4 byte aligned. The attached patch adds a series of assertions that verify the assumptions described in the Javadoc and an explicit check for if numBytes == 0 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |