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

fill_region_with_object has usability and safety issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs14
    • 7
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: