equal
deleted
inserted
replaced
24 |
24 |
25 #ifndef SHARE_VM_GC_SHARED_PRESERVEDMARKS_INLINE_HPP |
25 #ifndef SHARE_VM_GC_SHARED_PRESERVEDMARKS_INLINE_HPP |
26 #define SHARE_VM_GC_SHARED_PRESERVEDMARKS_INLINE_HPP |
26 #define SHARE_VM_GC_SHARED_PRESERVEDMARKS_INLINE_HPP |
27 |
27 |
28 #include "gc/shared/preservedMarks.hpp" |
28 #include "gc/shared/preservedMarks.hpp" |
|
29 #include "logging/log.hpp" |
29 #include "oops/oop.inline.hpp" |
30 #include "oops/oop.inline.hpp" |
30 #include "utilities/stack.inline.hpp" |
31 #include "utilities/stack.inline.hpp" |
31 |
32 |
32 inline bool PreservedMarks::should_preserve_mark(oop obj, markOop m) const { |
33 inline bool PreservedMarks::should_preserve_mark(oop obj, markOop m) const { |
33 return m->must_be_preserved_for_promotion_failure(obj); |
34 return m->must_be_preserved_for_promotion_failure(obj); |