--- a/src/hotspot/share/oops/markWord.inline.hpp Wed Nov 13 11:21:15 2019 +0100
+++ b/src/hotspot/share/oops/markWord.inline.hpp Wed Nov 13 11:37:29 2019 +0100
@@ -68,11 +68,6 @@
return (!is_unlocked() || !has_no_hash());
}
-// Same as must_be_preserved_for_promotion_failure().
-inline bool markWord::must_be_preserved_for_cms_scavenge(Klass* klass_of_obj_containing_mark) const {
- return must_be_preserved_for_promotion_failure(klass_of_obj_containing_mark);
-}
-
inline markWord markWord::prototype_for_klass(const Klass* klass) {
markWord prototype_header = klass->prototype_header();
assert(prototype_header == prototype() || prototype_header.has_bias_pattern(), "corrupt prototype header");