fill_region_with_object has usability and safety issues

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs14
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • gc
    • b09
    • generic
    • generic

        SharedHeap::fill_region_with_object has some issues with ...

        Usability: it requires a MemRegion to be passed in, but its designated purpose means that a MemRegion is almost never available at the call site, so one must be constructed just for the call, causing unnecessary obfuscation.

        Safety: it will silently fail to properly fill large regions.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: