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_GC_G1_G1CONCURRENTMARKTHREAD_INLINE_HPP
26 #define SHARE_GC_G1_G1CONCURRENTMARKTHREAD_INLINE_HPP
27
28 #include "gc/g1/g1ConcurrentMark.hpp"
29 #include "gc/g1/g1ConcurrentMarkThread.hpp"
30
31 // Total virtual time so far.
32 inline double G1ConcurrentMarkThread::vtime_accum() {
33 return _vtime_accum + _cm->all_task_accum_vtime();
34 }
35
36 // Marking virtual time so far
37 inline double G1ConcurrentMarkThread::vtime_mark_accum() {
38 return _vtime_mark_accum + _cm->all_task_accum_vtime();
39 }
40
41 #endif // SHARE_GC_G1_G1CONCURRENTMARKTHREAD_INLINE_HPP
|
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_GC_G1_G1CONCURRENTMARKTHREAD_INLINE_HPP
26 #define SHARE_GC_G1_G1CONCURRENTMARKTHREAD_INLINE_HPP
27
28 #include "gc/g1/g1ConcurrentMark.hpp"
29 #include "gc/g1/g1ConcurrentMarkThread.hpp"
30
31 // Total virtual time so far.
32 inline double G1ConcurrentMarkThread::vtime_accum() {
33 return _vtime_accum + _cm->all_task_accum_vtime();
34 }
35
36 // Marking virtual time so far
37 inline double G1ConcurrentMarkThread::vtime_mark_accum() {
38 return _cm->all_task_accum_vtime();
39 }
40
41 #endif // SHARE_GC_G1_G1CONCURRENTMARKTHREAD_INLINE_HPP
|