[Shenandoah] Setting ergo flags should use FLAG_SET_ERGO

XMLWordPrintable

    • gc
    • Fix Understood

      When setting ergo values in heuristics[1], Shen uses macro FLAG_SET_DEFAULT, but that makes the output PrintFlagsFinal label the flag `{product/diagnostic/etc} {default}` while it should show `{product/diagnostic/etc} {ergonomic}`. We need to use `FLAG_SET_ERGO` instead.




      [1]: https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp#L35-L56

            Assignee:
            Rui Li
            Reporter:
            Rui Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: