< prev index next >

src/hotspot/share/c1/c1_GraphBuilder.cpp

Print this page
rev 55090 : secret-sfac

*** 1491,1501 **** method()->intrinsic_id() == vmIntrinsics::_Object_init) { call_register_finalizer(); } bool need_mem_bar = false; ! if (method()->name() == ciSymbol::object_initializer_name() && (scope()->wrote_final() || (AlwaysSafeConstructors && scope()->wrote_fields()) || (support_IRIW_for_not_multiple_copy_atomic_cpu && scope()->wrote_volatile()) )){ need_mem_bar = true; } --- 1491,1501 ---- method()->intrinsic_id() == vmIntrinsics::_Object_init) { call_register_finalizer(); } bool need_mem_bar = false; ! if (method()->is_object_constructor() && (scope()->wrote_final() || (AlwaysSafeConstructors && scope()->wrote_fields()) || (support_IRIW_for_not_multiple_copy_atomic_cpu && scope()->wrote_volatile()) )){ need_mem_bar = true; }
*** 1967,1977 **** log->elem("call method='%d' instr='%s'", log->identify(target), Bytecodes::name(code)); // invoke-special-super ! if (bc_raw == Bytecodes::_invokespecial && !target->is_object_initializer()) { ciInstanceKlass* sender_klass = calling_klass->is_unsafe_anonymous() ? calling_klass->unsafe_anonymous_host() : calling_klass; if (sender_klass->is_interface()) { int index = state()->stack_size() - (target->arg_size_no_receiver() + 1); --- 1967,1977 ---- log->elem("call method='%d' instr='%s'", log->identify(target), Bytecodes::name(code)); // invoke-special-super ! if (bc_raw == Bytecodes::_invokespecial && !target->is_object_constructor()) { ciInstanceKlass* sender_klass = calling_klass->is_unsafe_anonymous() ? calling_klass->unsafe_anonymous_host() : calling_klass; if (sender_klass->is_interface()) { int index = state()->stack_size() - (target->arg_size_no_receiver() + 1);
< prev index next >