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

OopMapBlock count/size confusion

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs11
    • Fix Version/s: hs17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcoomes John Coomes
                  Reporter:
                  jcoomes John Coomes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: