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

fill_region_with_object has usability and safety issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: hs14
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Introduced In Version:
    • Resolved In Build:
      b09
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: