RFR: 8011760 assert(delta != 0) failed: dup pointer in MemBaseline::malloc_sort_by_addr
Daniel D. Daugherty
daniel.daugherty at oracle.com
Mon Jul 8 11:12:34 PDT 2013
On 7/8/13 11:23 AM, 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/
src/share/vm/services/memBaseline.cpp
No comments
Thumbs up!
Dan
>
>
> Thanks,
>
> -Zhengyu
More information about the hotspot-runtime-dev
mailing list