AdaptiveSizePolicySpaceOverheadTester::is_exceeded() print max_eden_size twice

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 23
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc
    • b16

      A trivial cleanup:

      diff --git a/src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp b/src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp
      index 3a0b3188a9a..bd392e3a7c6 100644
      --- a/src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp
      +++ b/src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp
      @@ -338,12 +338,11 @@ class AdaptiveSizePolicySpaceOverheadTester: public GCOverheadTester {
           log_trace(gc, ergo)(
                 "AdaptiveSizePolicySpaceOverheadTester::is_exceeded:"
                 " promo_limit: " SIZE_FORMAT
      - " max_eden_size: " SIZE_FORMAT
                 " total_free_limit: " SIZE_FORMAT
                 " max_old_gen_size: " SIZE_FORMAT
                 " max_eden_size: " SIZE_FORMAT
                 " mem_free_limit: " SIZE_FORMAT,
      - promo_limit, _max_eden_size, total_free_limit,
      + promo_limit, total_free_limit,
                 _max_old_gen_size, _max_eden_size,
                 (size_t)mem_free_limit);

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

              Created:
              Updated:
              Resolved: