< prev index next >

src/hotspot/share/oops/fieldStreams.hpp

Print this page
*** 37,10 ***
--- 37,11 ---
  // iterates over fields that have been injected by the JVM.
  // AllFieldStream exposes all fields and should only be used in rare
  // cases.
  // HierarchicalFieldStream allows to also iterate over fields of supertypes.
  class FieldStreamBase : public StackObj {
+ 
   protected:
    const Array<u1>*    _fieldinfo_stream;
    FieldInfoReader     _reader;
    constantPoolHandle  _constants;
    int                 _index;

*** 108,10 ***
--- 109,18 ---
  
    int offset() const {
      return field()->offset();
    }
  
+   bool is_null_free_inline_type() {
+     return field()->field_flags().is_null_free_inline_type();
+   }
+ 
+   bool is_flat() {
+     return field()->field_flags().is_flat();
+   }
+ 
    bool is_contended() const {
      return field()->is_contended();
    }
  
    int contended_group() const {
< prev index next >