< prev index next >

src/hotspot/share/interpreter/oopMapCache.cpp

Print this page

        

*** 244,253 **** --- 244,254 ---- void pass_int() { /* ignore */ } void pass_long() { /* ignore */ } void pass_float() { /* ignore */ } void pass_double() { /* ignore */ } void pass_object() { set_one(offset()); } + void pass_valuetype() { set_one(offset()); } MaskFillerForNative(const methodHandle& method, uintptr_t* mask, int size) : NativeSignatureIterator(method) { _mask = mask; _size = size; // initialize with 0
*** 272,291 **** LogStream st(logv.trace()); st.print("Locals (%d): ", max_locals); for(int i = 0; i < max_locals; i++) { bool v1 = is_oop(i) ? true : false; ! bool v2 = vars[i].is_reference() ? true : false; assert(v1 == v2, "locals oop mask generation error"); st.print("%d", v1 ? 1 : 0); } st.cr(); st.print("Stack (%d): ", stack_top); for(int j = 0; j < stack_top; j++) { bool v1 = is_oop(max_locals + j) ? true : false; ! bool v2 = stack[j].is_reference() ? true : false; assert(v1 == v2, "stack oop mask generation error"); st.print("%d", v1 ? 1 : 0); } st.cr(); return true; --- 273,292 ---- LogStream st(logv.trace()); st.print("Locals (%d): ", max_locals); for(int i = 0; i < max_locals; i++) { bool v1 = is_oop(i) ? true : false; ! bool v2 = vars[i].is_reference(); assert(v1 == v2, "locals oop mask generation error"); st.print("%d", v1 ? 1 : 0); } st.cr(); st.print("Stack (%d): ", stack_top); for(int j = 0; j < stack_top; j++) { bool v1 = is_oop(max_locals + j) ? true : false; ! bool v2 = stack[j].is_reference(); assert(v1 == v2, "stack oop mask generation error"); st.print("%d", v1 ? 1 : 0); } st.cr(); return true;
*** 363,373 **** if (entry_index == max_locals) { cell = stack; } // set oop bit ! if ( cell->is_reference()) { value |= (mask << oop_bit_number ); } // set dead bit if (!cell->is_live()) { --- 364,374 ---- if (entry_index == max_locals) { cell = stack; } // set oop bit ! if (cell->is_reference()) { value |= (mask << oop_bit_number ); } // set dead bit if (!cell->is_live()) {
< prev index next >