src/share/vm/jfr/writers/jfrPosition.inline.hpp

changeset 9947
db357034b763
parent 9858
b985cbb00e68
equal deleted inserted replaced
9946:103d1261f1f4 9947:db357034b763
78 inline size_t Position<AP>::available_size() const { 78 inline size_t Position<AP>::available_size() const {
79 return _end_pos - _current_pos; 79 return _end_pos - _current_pos;
80 } 80 }
81 81
82 template <typename AP> 82 template <typename AP>
83 inline intptr_t Position<AP>::used_offset() const { 83 inline int64_t Position<AP>::used_offset() const {
84 return _current_pos - _start_pos; 84 return _current_pos - _start_pos;
85 } 85 }
86 86
87 template <typename AP> 87 template <typename AP>
88 inline intptr_t Position<AP>::current_offset() const { 88 inline int64_t Position<AP>::current_offset() const {
89 return this->used_offset(); 89 return this->used_offset();
90 } 90 }
91 91
92 template <typename AP> 92 template <typename AP>
93 inline size_t Position<AP>::used_size() const { 93 inline size_t Position<AP>::used_size() const {

mercurial