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

G1: remove obsolete comment in HeapRegion::setup_heap_region_size

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • hotspot
    • None
    • gc
    • b21

    Description

      ```
        // The cast to int is safe, given that we've bounded region_size by
        // MIN_REGION_SIZE and MAX_REGION_SIZE.
        GrainBytes = region_size;
      ```

      Both variables are of `size_t` (changed in JDK-7095194); the comment was obsolete.

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: