hotspot/src/share/vm/gc/g1/g1StringDedupStat.cpp
author tschatzl
Fri, 02 Jun 2017 13:48:01 +0200
changeset 46520 de5cb3eed39b
parent 39690 09a3ee292336
permissions -rw-r--r--
8177044: Remove _scan_top from HeapRegion Summary: Remove the _scan_top member from HeapRegion using a per-gc pre-calculated table of scan limits that also subsumes other checks. Reviewed-by: sangheki, kbarrett, ehelin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
     1
/*
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
     2
 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
     4
 *
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
     7
 * published by the Free Software Foundation.
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
     8
 *
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    13
 * accompanied this code).
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    14
 *
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    18
 *
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    21
 * questions.
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    22
 *
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    23
 */
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    24
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    25
#include "precompiled.hpp"
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 23472
diff changeset
    26
#include "gc/g1/g1StringDedupStat.hpp"
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
    27
#include "logging/log.hpp"
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    28
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    29
G1StringDedupStat::G1StringDedupStat() :
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    30
  _inspected(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    31
  _skipped(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    32
  _hashed(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    33
  _known(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    34
  _new(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    35
  _new_bytes(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    36
  _deduped(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    37
  _deduped_bytes(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    38
  _deduped_young(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    39
  _deduped_young_bytes(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    40
  _deduped_old(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    41
  _deduped_old_bytes(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    42
  _idle(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    43
  _exec(0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    44
  _block(0),
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    45
  _start_concurrent(0.0),
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    46
  _end_concurrent(0.0),
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    47
  _start_phase(0.0),
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    48
  _idle_elapsed(0.0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    49
  _exec_elapsed(0.0),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    50
  _block_elapsed(0.0) {
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    51
}
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    52
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    53
void G1StringDedupStat::add(const G1StringDedupStat& stat) {
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    54
  _inspected           += stat._inspected;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    55
  _skipped             += stat._skipped;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    56
  _hashed              += stat._hashed;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    57
  _known               += stat._known;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    58
  _new                 += stat._new;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    59
  _new_bytes           += stat._new_bytes;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    60
  _deduped             += stat._deduped;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    61
  _deduped_bytes       += stat._deduped_bytes;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    62
  _deduped_young       += stat._deduped_young;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    63
  _deduped_young_bytes += stat._deduped_young_bytes;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    64
  _deduped_old         += stat._deduped_old;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    65
  _deduped_old_bytes   += stat._deduped_old_bytes;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    66
  _idle                += stat._idle;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    67
  _exec                += stat._exec;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    68
  _block               += stat._block;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    69
  _idle_elapsed        += stat._idle_elapsed;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    70
  _exec_elapsed        += stat._exec_elapsed;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    71
  _block_elapsed       += stat._block_elapsed;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    72
}
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    73
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    74
void G1StringDedupStat::print_start(const G1StringDedupStat& last_stat) {
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    75
  log_info(gc, stringdedup)(
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    76
     "Concurrent String Deduplication (" G1_STRDEDUP_TIME_FORMAT ")",
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    77
     G1_STRDEDUP_TIME_PARAM(last_stat._start_concurrent));
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    78
}
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    79
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    80
void G1StringDedupStat::print_end(const G1StringDedupStat& last_stat, const G1StringDedupStat& total_stat) {
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    81
  double total_deduped_bytes_percent = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    82
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    83
  if (total_stat._new_bytes > 0) {
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    84
    // Avoid division by zero
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    85
    total_deduped_bytes_percent = (double)total_stat._deduped_bytes / (double)total_stat._new_bytes * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    86
  }
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    87
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
    88
  log_info(gc, stringdedup)(
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
    89
    "Concurrent String Deduplication "
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    90
    G1_STRDEDUP_BYTES_FORMAT_NS "->" G1_STRDEDUP_BYTES_FORMAT_NS "(" G1_STRDEDUP_BYTES_FORMAT_NS ") "
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    91
    "avg " G1_STRDEDUP_PERCENT_FORMAT_NS " "
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    92
    "(" G1_STRDEDUP_TIME_FORMAT ", " G1_STRDEDUP_TIME_FORMAT ") " G1_STRDEDUP_TIME_FORMAT_MS,
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    93
    G1_STRDEDUP_BYTES_PARAM(last_stat._new_bytes),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    94
    G1_STRDEDUP_BYTES_PARAM(last_stat._new_bytes - last_stat._deduped_bytes),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    95
    G1_STRDEDUP_BYTES_PARAM(last_stat._deduped_bytes),
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
    96
    total_deduped_bytes_percent,
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    97
    G1_STRDEDUP_TIME_PARAM(last_stat._start_concurrent),
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    98
    G1_STRDEDUP_TIME_PARAM(last_stat._end_concurrent),
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
    99
    G1_STRDEDUP_TIME_PARAM_MS(last_stat._exec_elapsed));
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   100
}
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   101
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
   102
void G1StringDedupStat::print_statistics(const G1StringDedupStat& stat, bool total) {
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   103
  double young_percent               = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   104
  double old_percent                 = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   105
  double skipped_percent             = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   106
  double hashed_percent              = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   107
  double known_percent               = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   108
  double new_percent                 = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   109
  double deduped_percent             = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   110
  double deduped_bytes_percent       = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   111
  double deduped_young_percent       = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   112
  double deduped_young_bytes_percent = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   113
  double deduped_old_percent         = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   114
  double deduped_old_bytes_percent   = 0.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   115
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   116
  if (stat._inspected > 0) {
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   117
    // Avoid division by zero
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   118
    skipped_percent = (double)stat._skipped / (double)stat._inspected * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   119
    hashed_percent  = (double)stat._hashed / (double)stat._inspected * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   120
    known_percent   = (double)stat._known / (double)stat._inspected * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   121
    new_percent     = (double)stat._new / (double)stat._inspected * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   122
  }
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   123
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   124
  if (stat._new > 0) {
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   125
    // Avoid division by zero
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   126
    deduped_percent = (double)stat._deduped / (double)stat._new * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   127
  }
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   128
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   129
  if (stat._deduped > 0) {
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   130
    // Avoid division by zero
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   131
    deduped_young_percent = (double)stat._deduped_young / (double)stat._deduped * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   132
    deduped_old_percent   = (double)stat._deduped_old / (double)stat._deduped * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   133
  }
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   134
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   135
  if (stat._new_bytes > 0) {
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   136
    // Avoid division by zero
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   137
    deduped_bytes_percent = (double)stat._deduped_bytes / (double)stat._new_bytes * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   138
  }
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   139
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   140
  if (stat._deduped_bytes > 0) {
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   141
    // Avoid division by zero
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   142
    deduped_young_bytes_percent = (double)stat._deduped_young_bytes / (double)stat._deduped_bytes * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   143
    deduped_old_bytes_percent   = (double)stat._deduped_old_bytes / (double)stat._deduped_bytes * 100.0;
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   144
  }
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   145
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   146
  if (total) {
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
   147
    log_debug(gc, stringdedup)(
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   148
      "  Total Exec: " UINTX_FORMAT "/" G1_STRDEDUP_TIME_FORMAT_MS
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   149
      ", Idle: " UINTX_FORMAT "/" G1_STRDEDUP_TIME_FORMAT_MS
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   150
      ", Blocked: " UINTX_FORMAT "/" G1_STRDEDUP_TIME_FORMAT_MS,
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   151
      stat._exec, G1_STRDEDUP_TIME_PARAM_MS(stat._exec_elapsed),
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   152
      stat._idle, G1_STRDEDUP_TIME_PARAM_MS(stat._idle_elapsed),
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   153
      stat._block, G1_STRDEDUP_TIME_PARAM_MS(stat._block_elapsed));
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   154
  } else {
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
   155
    log_debug(gc, stringdedup)(
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   156
      "  Last Exec: " G1_STRDEDUP_TIME_FORMAT_MS
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   157
      ", Idle: " G1_STRDEDUP_TIME_FORMAT_MS
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   158
      ", Blocked: " UINTX_FORMAT "/" G1_STRDEDUP_TIME_FORMAT_MS,
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   159
      G1_STRDEDUP_TIME_PARAM_MS(stat._exec_elapsed),
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   160
      G1_STRDEDUP_TIME_PARAM_MS(stat._idle_elapsed),
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   161
      stat._block, G1_STRDEDUP_TIME_PARAM_MS(stat._block_elapsed));
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   162
  }
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   163
  log_debug(gc, stringdedup)("    Inspected:    " G1_STRDEDUP_OBJECTS_FORMAT, stat._inspected);
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   164
  log_debug(gc, stringdedup)("      Skipped:    " G1_STRDEDUP_OBJECTS_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ")", stat._skipped, skipped_percent);
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   165
  log_debug(gc, stringdedup)("      Hashed:     " G1_STRDEDUP_OBJECTS_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ")", stat._hashed, hashed_percent);
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   166
  log_debug(gc, stringdedup)("      Known:      " G1_STRDEDUP_OBJECTS_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ")", stat._known, known_percent);
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   167
  log_debug(gc, stringdedup)("      New:        " G1_STRDEDUP_OBJECTS_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ") " G1_STRDEDUP_BYTES_FORMAT,
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
   168
                             stat._new, new_percent, G1_STRDEDUP_BYTES_PARAM(stat._new_bytes));
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   169
  log_debug(gc, stringdedup)("    Deduplicated: " G1_STRDEDUP_OBJECTS_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ") " G1_STRDEDUP_BYTES_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ")",
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
   170
                             stat._deduped, deduped_percent, G1_STRDEDUP_BYTES_PARAM(stat._deduped_bytes), deduped_bytes_percent);
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   171
  log_debug(gc, stringdedup)("      Young:      " G1_STRDEDUP_OBJECTS_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ") " G1_STRDEDUP_BYTES_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ")",
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
   172
                             stat._deduped_young, deduped_young_percent, G1_STRDEDUP_BYTES_PARAM(stat._deduped_young_bytes), deduped_young_bytes_percent);
39690
09a3ee292336 8159974: G1 String deduplication logging not aligned with the rest of G1
pliden
parents: 39287
diff changeset
   173
  log_debug(gc, stringdedup)("      Old:        " G1_STRDEDUP_OBJECTS_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ") " G1_STRDEDUP_BYTES_FORMAT "(" G1_STRDEDUP_PERCENT_FORMAT ")",
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents: 31592
diff changeset
   174
                             stat._deduped_old, deduped_old_percent, G1_STRDEDUP_BYTES_PARAM(stat._deduped_old_bytes), deduped_old_bytes_percent);
23472
35e93890ed88 8029075: String deduplication in G1
pliden
parents:
diff changeset
   175
}