Integrated: 8341668: Shenandoah: assert(tail_bits < (idx_t)BitsPerWord) failed: precondition
William Kemper
wkemper at openjdk.org
Tue Oct 8 01:29:03 UTC 2024
On Mon, 7 Oct 2024 18:44:13 GMT, William Kemper <wkemper at openjdk.org> wrote:
> `tail_mask` function should not be in the global scope. Stack traces in incremental build shows `shenandoahSimpleBitMap` calling a function with the same name defined in `bitMap.cpp`:
>
>
> #8 0x7f5e08a2c4d4 in tail_mask(unsigned long) src/hotspot/share/utilities/bitMap.cpp:431
> #9 0x7f5e0a951144 in ShenandoahSimpleBitMap::count_trailing_ones(long) const src/hotspot/share/gc/shenandoah/shenandoahSimpleBitMap.cpp:75
> #10 0x7f5e0a951b42 in ShenandoahSimpleBitMap::find_first_consecutive_set_bits(long, long, unsigned long) const src/hotspot/share/gc/shenandoah/shenandoahSimpleBitMap.cpp:215
This pull request has now been integrated.
Changeset: 45a63595
Author: William Kemper <wkemper at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/45a6359588996d25e5e8dadebdcd8d6a00ef786f
Stats: 3 lines in 2 files changed: 2 ins; 0 del; 1 mod
8341668: Shenandoah: assert(tail_bits < (idx_t)BitsPerWord) failed: precondition
Reviewed-by: ysr
-------------
PR: https://git.openjdk.org/jdk/pull/21395
More information about the hotspot-gc-dev
mailing list