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

Swapped usage of idx_t and bm_word_t types in parMarkBitMap.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b22

        From http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-May/014018.html

        I've created a patch [1] to fix swapped usage of idx_t and bm_word_t
        types in
        hotspot/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp

        The code currently uses a pointer to idx_t as an argument to
         BitMap::set_map(bm_word_t* map) which fails on s390.

        For most platforms the idx_t and bm_word_t types are effectively the
        same, so the interchange is uncaught, but on s390 (32-bit) the size_t is
        "unsigned long" which makes it incompatible with "unsigned int".

              tschatzl Thomas Schatzl
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: