Clean up comments in GenArguments::initialize_size_info()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc

      During JDK-8329223 code review (https://github.com/openjdk/jdk/pull/18539/)

      @lgxbslgx suggested some comment cleanup:

      ```
      The comment shown below seems strange. Can it be removed?

          // The generation minimums and the overall heap minimum should
          // be within one generation alignment.


      The warning message shown below can be more consistent with this newly added one.

            log_warning(gc, ergo)("Inconsistency between maximum heap size and maximum "
                                  "generation sizes: using maximum heap = " SIZE_FORMAT
                                  ", -XX:OldSize flag is being ignored",
                                  MaxHeapSize);

      ```

            Assignee:
            Unassigned
            Reporter:
            Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: