< prev index next >

src/share/vm/gc/g1/g1GCPhaseTimes.hpp

Print this page
rev 13269 : 8183935: G1GCPhaseTimes and G1RootProcessor do not include macros.hpp
Reviewed-by:


  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_GC_G1_G1GCPHASETIMES_HPP
  26 #define SHARE_VM_GC_G1_G1GCPHASETIMES_HPP
  27 
  28 #include "logging/logLevel.hpp"
  29 #include "memory/allocation.hpp"

  30 
  31 class LineBuffer;
  32 
  33 template <class T> class WorkerDataArray;
  34 
  35 class G1GCPhaseTimes : public CHeapObj<mtGC> {
  36   uint _max_gc_threads;
  37   jlong _gc_start_counter;
  38   double _gc_pause_time_ms;
  39 
  40  public:
  41   enum GCParPhases {
  42     GCWorkerStart,
  43     ExtRootScan,
  44     ThreadRoots,
  45     StringTableRoots,
  46     UniverseRoots,
  47     JNIRoots,
  48     ObjectSynchronizerRoots,
  49     FlatProfilerRoots,




  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_GC_G1_G1GCPHASETIMES_HPP
  26 #define SHARE_VM_GC_G1_G1GCPHASETIMES_HPP
  27 
  28 #include "logging/logLevel.hpp"
  29 #include "memory/allocation.hpp"
  30 #include "utilities/macros.hpp"
  31 
  32 class LineBuffer;
  33 
  34 template <class T> class WorkerDataArray;
  35 
  36 class G1GCPhaseTimes : public CHeapObj<mtGC> {
  37   uint _max_gc_threads;
  38   jlong _gc_start_counter;
  39   double _gc_pause_time_ms;
  40 
  41  public:
  42   enum GCParPhases {
  43     GCWorkerStart,
  44     ExtRootScan,
  45     ThreadRoots,
  46     StringTableRoots,
  47     UniverseRoots,
  48     JNIRoots,
  49     ObjectSynchronizerRoots,
  50     FlatProfilerRoots,


< prev index next >