Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8341668

Shenandoah: assert(tail_bits < (idx_t)BitsPerWord) failed: precondition

XMLWordPrintable

    • gc
    • b19

        I believe this is caused by a naming collision with the `tail_mask` function recently introduced to shenandoahSimpleBitmap.cpp in the global scope.

        Stack traces in incremental build show 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

              wkemper William Kemper
              wkemper William Kemper
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: