-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: 26
-
Component/s: hotspot
-
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
[1]: https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp#L35-L56