OopMapBlock count/size confusion

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • hs17
    • Affects Version/s: hs11
    • Component/s: hotspot
    • None
    • b01
    • generic
    • generic
    • Verified

        Code in instanceKlass, classFileParser and elsewhere assumes that sizeof(OopMapBlock) <= sizeof(HeapWord), and thus confuses the count of oop map blocks with their size in words in several places. If OopMapBlock is made larger than a HeapWord, the VM crashes quickly.

              Assignee:
              John Coomes (Inactive)
              Reporter:
              John Coomes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: