< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentMarkThread.inline.hpp

Print this page
rev 60598 : imported patch 8247928-refactor-concurrent-mark-thread


  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   // The G1ConcurrentMarkThread does not do any marking at all.
  39   return _cm->all_task_accum_vtime();
  40 }
  41 
  42 #endif // SHARE_GC_G1_G1CONCURRENTMARKTHREAD_INLINE_HPP
< prev index next >