Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8328612

AdaptiveSizePolicySpaceOverheadTester::is_exceeded() print max_eden_size twice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 23
    • 23
    • 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);

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

              Created:
              Updated:
              Resolved: