8254015: copy_to_survivor_space should use in-hand klass for scanning

Reviewed-by: tschatzl, sjohanss, ayang
This commit is contained in:
Kim Barrett 2020-10-08 08:56:01 +00:00
parent 76a5852776
commit 66f27b5fca
3 changed files with 11 additions and 2 deletions

View file

@ -277,6 +277,9 @@ class oopDesc {
template <typename OopClosureType>
inline void oop_iterate_backwards(OopClosureType* cl);
template <typename OopClosureType>
inline void oop_iterate_backwards(OopClosureType* cl, Klass* klass);
inline static bool is_instanceof_or_null(oop obj, Klass* klass);
// identity hash; returns the identity hash key (computes it if necessary)