< prev index next >
src/hotspot/share/oops/valueKlass.hpp
Print this page
rev 59083 : DRAFT 8236522: NonTearable marker interface for inline classes to enforce atomicity
@@ -212,12 +212,12 @@
int raw_value_byte_size();
address data_for_oop(oop o) const;
oop oop_for_data(address data) const;
- // Query if h/w provides atomic load/store
- bool is_atomic();
+ // Query if this class promises atomicity one way or another
+ bool is_atomic() { return is_naturally_atomic() || is_declared_atomic(); }
bool flatten_array();
bool contains_oops() const { return nonstatic_oop_map_count() > 0; }
int nonstatic_oop_count();
< prev index next >