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

Remove unnecessary GenAlignment

XMLWordPrintable

    • gc

      `GenAlignment` is used to control generation alignment, while `SpaceAlignment` handles space-alignment within a generation. Technically, they can have different values, but in our implementation, they never do.

      Currently, `GenAlignment` is only used in Serial and Parallel collectors, and in all cases, we have (effectively):

      ```
      SpaceAlignment = GenAlignment = ...
      ```

      Allowing/supporting different values could introduce unnecessary complexity. Therefore, I suggest removing `GenAlignment` and use `SpaceAlignment` instead.

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

              Created:
              Updated: