hotspot/src/share/vm/ci/ciTypeArray.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/hotspot/src/share/vm/ci/ciTypeArray.cpp	Sat Jul 27 01:53:41 2013
--- new/hotspot/src/share/vm/ci/ciTypeArray.cpp	Sat Jul 27 01:53:41 2013

*** 37,43 **** --- 37,48 ---- // // Implementation of the char_at method. jchar ciTypeArray::char_at(int index) { VM_ENTRY_MARK; assert(index >= 0 && index < length(), "out of range"); ! return get_typeArrayOop()->char_at(index); ! jchar c = element_value(index).as_char(); + #ifdef ASSERT + jchar d = get_typeArrayOop()->char_at(index); + assert(c == d, ""); + #endif //ASSERT + return c; }

hotspot/src/share/vm/ci/ciTypeArray.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File