--- old/src/share/vm/opto/compile.cpp 2012-11-12 10:52:09.740641557 -0800 +++ new/src/share/vm/opto/compile.cpp 2012-11-12 10:52:09.480644827 -0800 @@ -2078,12 +2078,14 @@ int get_inner_loop_count() const { return _inner_loop_count; } }; +#ifdef ASSERT static bool oop_offset_is_sane(const TypeInstPtr* tp) { ciInstanceKlass *k = tp->klass()->as_instance_klass(); // Make sure the offset goes inside the instance layout. return k->contains_field_offset(tp->offset()); // Note that OffsetBot and OffsetTop are very negative. } +#endif // Eliminate trivially redundant StoreCMs and accumulate their // precedence edges.