hotspot/src/share/vm/gc/shared/gcTraceTime.inline.hpp
author stefank
Mon, 04 Apr 2016 09:15:15 +0200
changeset 37242 91e5f98fff6f
parent 37200 e601cf49b2d8
child 37255 100d4a515df0
permissions -rw-r--r--
8152632: Rename LogHandle(...) to Log(...) Reviewed-by: brutisso, mlarsson, rprotacio
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     1
/*
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     2
 * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     4
 *
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     7
 * published by the Free Software Foundation.
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     8
 *
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    13
 * accompanied this code).
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    14
 *
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    18
 *
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    21
 * questions.
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    22
 *
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    23
 */
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    24
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    25
#ifndef SHARE_VM_GC_SHARED_GCTRACETIME_INLINE_HPP
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    26
#define SHARE_VM_GC_SHARED_GCTRACETIME_INLINE_HPP
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    27
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    28
#include "gc/shared/collectedHeap.hpp"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    29
#include "gc/shared/gcTimer.hpp"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    30
#include "gc/shared/gcTrace.hpp"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    31
#include "gc/shared/gcTraceTime.hpp"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    32
#include "logging/log.hpp"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    33
#include "memory/universe.hpp"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    34
#include "prims/jni_md.h"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    35
#include "utilities/ticks.hpp"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    36
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    37
#define LOG_STOP_TIME_FORMAT "(%.3fs, %.3fs) %.3fms"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    38
#define LOG_STOP_HEAP_FORMAT SIZE_FORMAT "M->" SIZE_FORMAT "M("  SIZE_FORMAT "M)"
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    39
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    40
template <LogLevelType Level, LogTagType T0, LogTagType T1, LogTagType T2, LogTagType T3, LogTagType T4, LogTagType GuardTag >
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    41
void GCTraceTimeImpl<Level, T0, T1, T2, T3, T4, GuardTag>::log_start(jlong start_counter) {
37200
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    42
  STATIC_ASSERT(T0 != LogTag::__NO_TAG); // Need some tag to log on.
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    43
  STATIC_ASSERT(T4 == LogTag::__NO_TAG); // Need to leave at least the last tag for the "start" tag in log_start()
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    44
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    45
  // Get log with start tag appended (replace first occurrence of NO_TAG)
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    46
  const LogTagType start_tag = PREFIX_LOG_TAG(start);
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    47
  const LogTagType no_tag = PREFIX_LOG_TAG(_NO_TAG);
37242
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
    48
  LogImpl<T0,
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
    49
          T1 == no_tag ? start_tag : T1,
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
    50
          T1 != no_tag && T2 == no_tag ? start_tag : T2,
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
    51
          T2 != no_tag && T3 == no_tag ? start_tag : T3,
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
    52
          T3 != no_tag && T4 == no_tag ? start_tag : T4
37200
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    53
    > log;
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    54
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    55
  if (log.is_level(Level)) {
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    56
    FormatBuffer<> start_msg("%s", _title);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    57
    if (_gc_cause != GCCause::_no_gc) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    58
      start_msg.append(" (%s)", GCCause::to_string(_gc_cause));
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    59
    }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    60
    start_msg.append(" (%.3fs)", TimeHelper::counter_to_seconds(start_counter));
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    61
    // Make sure to put the "start" tag last in the tag set
37200
e601cf49b2d8 8151438: UL instantiates duplicate tag sets
mlarsson
parents: 37161
diff changeset
    62
    log.template write<Level>("%s", start_msg.buffer());
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    63
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    64
}
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    65
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    66
template <LogLevelType Level, LogTagType T0, LogTagType T1, LogTagType T2, LogTagType T3, LogTagType T4, LogTagType GuardTag >
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    67
void GCTraceTimeImpl<Level, T0, T1, T2, T3, T4, GuardTag>::log_stop(jlong start_counter, jlong stop_counter) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    68
  double duration_in_ms = TimeHelper::counter_to_millis(stop_counter - start_counter);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    69
  double start_time_in_secs = TimeHelper::counter_to_seconds(start_counter);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    70
  double stop_time_in_secs = TimeHelper::counter_to_seconds(stop_counter);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    71
  FormatBuffer<> stop_msg("%s", _title);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    72
  if (_gc_cause != GCCause::_no_gc) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    73
    stop_msg.append(" (%s)", GCCause::to_string(_gc_cause));
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    74
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    75
  if (_heap_usage_before == SIZE_MAX) {
37242
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
    76
    LogImpl<T0, T1, T2, T3, T4>::template write<Level>("%s " LOG_STOP_TIME_FORMAT,
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    77
        stop_msg.buffer(), start_time_in_secs, stop_time_in_secs, duration_in_ms);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    78
  } else {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    79
    CollectedHeap* heap = Universe::heap();
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    80
    size_t used_before_m = _heap_usage_before / M;
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    81
    size_t used_m = heap->used() / M;
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    82
    size_t capacity_m = heap->capacity() / M;
37242
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
    83
    LogImpl<T0, T1, T2, T3, T4>::template write<Level>("%s " LOG_STOP_HEAP_FORMAT " " LOG_STOP_TIME_FORMAT,
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    84
        stop_msg.buffer(), used_before_m, used_m, capacity_m, start_time_in_secs, stop_time_in_secs, duration_in_ms);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    85
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    86
}
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    87
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    88
template <LogLevelType Level, LogTagType T0, LogTagType T1, LogTagType T2, LogTagType T3, LogTagType T4, LogTagType GuardTag >
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    89
void GCTraceTimeImpl<Level, T0, T1, T2, T3, T4, GuardTag>::time_stamp(Ticks& ticks) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    90
  if (_enabled || _timer != NULL) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    91
    ticks.stamp();
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    92
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    93
}
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    94
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    95
template <LogLevelType Level, LogTagType T0, LogTagType T1, LogTagType T2, LogTagType T3, LogTagType T4, LogTagType GuardTag >
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    96
GCTraceTimeImpl<Level, T0, T1, T2, T3, T4, GuardTag>::GCTraceTimeImpl(const char* title, GCTimer* timer, GCCause::Cause gc_cause, bool log_heap_usage) :
37242
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
    97
  _enabled(LogImpl<T0, T1, T2, T3, T4, GuardTag>::is_level(Level)),
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    98
  _start_ticks(),
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
    99
  _heap_usage_before(SIZE_MAX),
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   100
  _title(title),
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   101
  _gc_cause(gc_cause),
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   102
  _timer(timer) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   103
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   104
  time_stamp(_start_ticks);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   105
  if (_enabled) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   106
    if (log_heap_usage) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   107
      _heap_usage_before = Universe::heap()->used();
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   108
    }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   109
    log_start(_start_ticks.value());
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   110
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   111
  if (_timer != NULL) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   112
    _timer->register_gc_phase_start(_title, _start_ticks);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   113
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   114
}
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   115
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   116
template <LogLevelType Level, LogTagType T0, LogTagType T1, LogTagType T2, LogTagType T3, LogTagType T4, LogTagType GuardTag >
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   117
GCTraceTimeImpl<Level, T0, T1, T2, T3, T4, GuardTag>::~GCTraceTimeImpl() {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   118
  Ticks stop_ticks;
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   119
  time_stamp(stop_ticks);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   120
  if (_enabled) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   121
    log_stop(_start_ticks.value(), stop_ticks.value());
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   122
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   123
  if (_timer != NULL) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   124
    _timer->register_gc_phase_end(stop_ticks);
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   125
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   126
}
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   127
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   128
template <LogLevelType Level, LogTagType T0, LogTagType T1, LogTagType T2, LogTagType T3, LogTagType T4, LogTagType GuardTag >
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   129
GCTraceConcTimeImpl<Level, T0, T1, T2, T3, T4, GuardTag>::GCTraceConcTimeImpl(const char* title) :
37242
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
   130
  _enabled(LogImpl<T0, T1, T2, T3, T4, GuardTag>::is_level(Level)), _start_time(os::elapsed_counter()), _title(title) {
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   131
  if (_enabled) {
37242
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
   132
    LogImpl<T0, T1, T2, T3, T4>::template write<Level>("%s (%.3fs)", _title, TimeHelper::counter_to_seconds(_start_time));
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   133
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   134
}
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   135
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   136
template <LogLevelType Level, LogTagType T0, LogTagType T1, LogTagType T2, LogTagType T3, LogTagType T4, LogTagType GuardTag >
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   137
GCTraceConcTimeImpl<Level, T0, T1, T2, T3, T4, GuardTag>::~GCTraceConcTimeImpl() {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   138
  if (_enabled) {
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   139
    jlong stop_time = os::elapsed_counter();
37242
91e5f98fff6f 8152632: Rename LogHandle(...) to Log(...)
stefank
parents: 37200
diff changeset
   140
    LogImpl<T0, T1, T2, T3, T4>::template write<Level>("%s " LOG_STOP_TIME_FORMAT,
35061
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   141
                                                   _title,
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   142
                                                   TimeHelper::counter_to_seconds(_start_time),
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   143
                                                   TimeHelper::counter_to_seconds(stop_time),
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   144
                                                   TimeHelper::counter_to_millis(stop_time - _start_time));
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   145
  }
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   146
}
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   147
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   148
#define GCTraceTime(Level, ...) GCTraceTimeImpl<LogLevel::Level, LOG_TAGS(__VA_ARGS__)>
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   149
#define GCTraceConcTime(Level, ...) GCTraceConcTimeImpl<LogLevel::Level, LOG_TAGS(__VA_ARGS__)>
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   150
be6025ebffea 8145092: Use Unified Logging for the GC logging
brutisso
parents:
diff changeset
   151
#endif // SHARE_VM_GC_SHARED_GCTRACETIME_INLINE_HPP