[ http://issues.apache.org/jira/browse/HARMONY-1661?page=all ] Ivan Volosyuk updated HARMONY-1661: ----------------------------------- Attachment: gc_alloc.diff Here is one-liner fix. > [DRLVM][GC] gc_alloc() next to high bit of size is not reset on allocating finalizible objects > ---------------------------------------------------------------------------------------------- > > Key: HARMONY-1661 > URL: http://issues.apache.org/jira/browse/HARMONY-1661 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: All > Reporter: Ivan Volosyuk > Attachments: gc_alloc.diff > > > gc_alloc() allocation path for finalizible object incorrect again. > Fix for HARMONY-1588 added the flow. 'in_size' may have next to high bit set for object size. This indicates that the object has special features (is finalizible) and cannot be processed by fast path. > Changing in_size to size in slow path fixes the problem. > Bug is reproducible by java.lang.Runtime kernel test in interpreter mode. After the fix test passes for me. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira