3885N/A * or visit www.oracle.com if you need additional information or have any
3885N/A#include "precompiled.hpp"
3885N/A#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
3885N/A#include "gc_implementation/g1/g1GCPhaseTimes.hpp"
3885N/A#include "gc_implementation/g1/g1Log.hpp"
3885N/A ~LineBuffer() {
3885N/A assert(_cur == _indent_level * INDENT_CHARS, "pending data in buffer - append_and_print_cr() not called?");
3978N/A if (_print_sum) {
3885N/A assert(active_gc_threads <= _max_gc_threads, "The number of active threads must be <= the max nubmer of threads");
4438N/A double worker_time = _last_gc_worker_end_times_ms.get(i) - _last_gc_worker_start_times_ms.get(i);
3885N/A LineBuffer(level).append_and_print_cr("[%s: %.1lf ms, GC Workers: %d]", str, value, workers);
3885N/A return misc_time_ms;