< prev index next >

src/hotspot/share/oops/markWord.cpp

Print this page
*** 97,5 ***
--- 97,19 ---
        st->print("??");
      }
      st->print(" age=%d)", age());
    }
  }
+ 
+ markWord markWord::flat_array_prototype(LayoutKind lk) {
+   switch(lk) {
+     case ATOMIC_FLAT:
+     case NON_ATOMIC_FLAT:
+       return markWord(null_free_flat_array_pattern);
+       break;
+     case NULLABLE_ATOMIC_FLAT:
+       return markWord(nullable_flat_array_pattern);
+       break;
+     default:
+       ShouldNotReachHere();
+   }
+ }
< prev index next >