comparison src/share/vm/services/runtimeService.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents c18cbe5936b8
children fb19af007ffc
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
1 /* 1 /*
2 * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2010, 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.
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 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 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24
25 #ifndef SHARE_VM_SERVICES_RUNTIMESERVICE_HPP
26 #define SHARE_VM_SERVICES_RUNTIMESERVICE_HPP
27
28 #include "runtime/perfData.hpp"
29 #include "runtime/timer.hpp"
24 30
25 class RuntimeService : public AllStatic { 31 class RuntimeService : public AllStatic {
26 private: 32 private:
27 static PerfCounter* _sync_time_ticks; // Accumulated time spent getting to safepoints 33 static PerfCounter* _sync_time_ticks; // Accumulated time spent getting to safepoints
28 static PerfCounter* _total_safepoints; 34 static PerfCounter* _total_safepoints;
55 // interruption events 61 // interruption events
56 static void record_interrupted_before_count(); 62 static void record_interrupted_before_count();
57 static void record_interrupted_during_count(); 63 static void record_interrupted_during_count();
58 static void record_thread_interrupt_signaled_count(); 64 static void record_thread_interrupt_signaled_count();
59 }; 65 };
66
67 #endif // SHARE_VM_SERVICES_RUNTIMESERVICE_HPP