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

G1: remove obsolete comment in HeapRegion::setup_heap_region_size

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • None
    • hotspot
    • None
    • gc
    • b21

      ```
        // 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.

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

              Created:
              Updated:
              Resolved: