equal
deleted
inserted
replaced
28 #include "ci/ciMetadata.hpp" |
28 #include "ci/ciMetadata.hpp" |
29 #include "code/oopRecorder.hpp" |
29 #include "code/oopRecorder.hpp" |
30 #include "memory/allocation.inline.hpp" |
30 #include "memory/allocation.inline.hpp" |
31 #include "oops/oop.inline.hpp" |
31 #include "oops/oop.inline.hpp" |
32 #include "runtime/jniHandles.inline.hpp" |
32 #include "runtime/jniHandles.inline.hpp" |
|
33 #include "utilities/copy.hpp" |
33 |
34 |
34 #ifdef ASSERT |
35 #ifdef ASSERT |
35 template <class T> int ValueRecorder<T>::_find_index_calls = 0; |
36 template <class T> int ValueRecorder<T>::_find_index_calls = 0; |
36 template <class T> int ValueRecorder<T>::_hit_indexes = 0; |
37 template <class T> int ValueRecorder<T>::_hit_indexes = 0; |
37 template <class T> int ValueRecorder<T>::_missed_indexes = 0; |
38 template <class T> int ValueRecorder<T>::_missed_indexes = 0; |
199 _values.insert_before(location, r); |
200 _values.insert_before(location, r); |
200 return r.index(); |
201 return r.index(); |
201 } |
202 } |
202 return _values.at(location).index(); |
203 return _values.at(location).index(); |
203 } |
204 } |
204 |
|