We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e6432 commit 07c9f71Copy full SHA for 07c9f71
src/hotspot/share/oops/markWord.hpp
@@ -188,7 +188,7 @@ class markWord {
188
static markWord INFLATING() { return zero(); } // inflate-in-progress
189
190
// Should this header be preserved during GC?
191
- bool must_be_preserved(const oopDesc* obj) const {
+ bool must_be_preserved() const {
192
return (!is_unlocked() || !has_no_hash());
193
}
194
src/hotspot/share/oops/oop.inline.hpp
@@ -452,7 +452,7 @@ bool oopDesc::mark_must_be_preserved() const {
452
453
454
bool oopDesc::mark_must_be_preserved(markWord m) const {
455
- return m.must_be_preserved(this);
+ return m.must_be_preserved();
456
457
458
#endif // SHARE_OOPS_OOP_INLINE_HPP
0 commit comments