< prev index next >

src/share/vm/runtime/javaCalls.cpp

Print this page

        

*** 565,575 **** // There shouldn't be any handles in very low memory. guarantee((size_t)v >= (size_t)os::vm_page_size(), "Bad JNI oop argument %d: " PTR_FORMAT, _pos, v); // Verify the pointee. oop vv = resolve_indirect_oop(v, _value_state[_pos]); ! guarantee(vv->is_oop_or_null(true), "Bad JNI oop argument %d: " PTR_FORMAT " -> " PTR_FORMAT, _pos, v, p2i(vv)); } check_value(true); // Verify value state. --- 565,575 ---- // There shouldn't be any handles in very low memory. guarantee((size_t)v >= (size_t)os::vm_page_size(), "Bad JNI oop argument %d: " PTR_FORMAT, _pos, v); // Verify the pointee. oop vv = resolve_indirect_oop(v, _value_state[_pos]); ! guarantee(oopDesc::is_oop_or_null(vv, true), "Bad JNI oop argument %d: " PTR_FORMAT " -> " PTR_FORMAT, _pos, v, p2i(vv)); } check_value(true); // Verify value state.
< prev index next >