RFR: 8011760 assert(delta != 0) failed: dup pointer in MemBaseline::malloc_sort_by_addr

Karen Kinnear karen.kinnear at oracle.com
Tue Jul 9 10:29:35 PDT 2013


Fix looks good for hs25 and hs24. Glad you were able to reproduce.

thanks,
Karen

On Jul 8, 2013, at 1:23 PM, Zhengyu Gu wrote:

> This is a simple fix to qsort's comparison function. The bug is related to libc version, it only happens on Linux 32 bit with certain versions of libc. The one I used to reproduce, is libc-2.11.1.so. 
> 
> Most of qsort algorithms do not compare element to itself, but apparently it is not the case with certain version of Linux 32 libc implementation.
> 
> 
> JBS:   https://jbs.oracle.com/bugs/browse/JDK-8011760
> Public bug: not available
> Webrev:  http://cr.openjdk.java.net/~zgu/8011760/webrev.00/
> 
> 
> Thanks,
> 
> -Zhengyu



More information about the hotspot-runtime-dev mailing list