src/hotspot/share/gc/g1/g1HRPrinter.hpp
changeset 49392 2956d0ece7a9
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
49391:02076019c25d 49392:2956d0ece7a9
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    25 #ifndef SHARE_VM_GC_G1_G1HRPRINTER_HPP
    25 #ifndef SHARE_VM_GC_G1_G1HRPRINTER_HPP
    26 #define SHARE_VM_GC_G1_G1HRPRINTER_HPP
    26 #define SHARE_VM_GC_G1_G1HRPRINTER_HPP
    27 
    27 
    28 #include "gc/g1/heapRegion.hpp"
    28 #include "gc/g1/heapRegion.hpp"
    29 #include "logging/log.hpp"
    29 #include "logging/log.hpp"
    30 #include "memory/allocation.hpp"
       
    31 
    30 
    32 #define SKIP_RETIRED_FULL_REGIONS 1
    31 #define SKIP_RETIRED_FULL_REGIONS 1
    33 
    32 
    34 class G1HRPrinter VALUE_OBJ_CLASS_SPEC {
    33 class G1HRPrinter {
    35 
    34 
    36 private:
    35 private:
    37 
    36 
    38   // Print an action event.
    37   // Print an action event.
    39   static void print(const char* action, HeapRegion* hr) {
    38   static void print(const char* action, HeapRegion* hr) {