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

CollectedHeap::fill_with_objects() needs to use multiple arrays in 32 bit mode too

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b74

      Backports

        Description

        In JDK-8042668 we introduced the use of CollectedHeap::fill_with_objects() with a custom maximum filler object size for G1.
        That custom maximum filler object size is significantly lower than the 8G talked about in the comments of CollectedHeap::fill_with_objects(), so that even in 32 bit VMs it may happen that fill_with_objects() can be called with a size that is larger than that, requiring the use of multiple objects.

        This issue can be reproduced with JDK-8129558 that also uses fill_with_objects() on GCBasher.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: