Wrong log tag for UseCompressedOops ergo setting

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 27
    • Affects Version/s: 25
    • Component/s: hotspot
    • b02

      https://github.com/openjdk/jdk/blob/c9ab330b7bdd3cc2410ffdb336a63aa0ac7256a3/src/hotspot/share/runtime/arguments.cpp#L1606-L1611

            if (reasonable_max > max_coop_heap) {
              if (FLAG_IS_ERGO(UseCompressedOops) && has_ram_limit) {
                aot_log_info(aot)("UseCompressedOops disabled due to "
                                  "max heap %zu > compressed oop heap %zu. "
                                  "Please check the setting of MaxRAMPercentage %5.2f.",
                                  reasonable_max, (size_t)max_coop_heap, MaxRAMPercentage);

      The message should be logged to the (gc, heap, coops) channel.

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: