comparison src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp @ 54048:744dc9c33676

8217417: Decorator name typo: C2_TIGHLY_COUPLED_ALLOC Summary: Fixed typo in decorator name, variables, and comments. Reviewed-by: tschatzl
author kbarrett
date Mon, 11 Mar 2019 02:05:07 -0400
parents 74a5ef4c81cc
children 6c0ab8bd8da5
comparison
equal deleted inserted replaced
3:147ffccd59e7 4:a8ab8e2a303e
655 val.set_node(value); 655 val.set_node(value);
656 shenandoah_write_barrier_pre(kit, true /* do_load */, /*kit->control(),*/ access.base(), adr, adr_idx, val.node(), 656 shenandoah_write_barrier_pre(kit, true /* do_load */, /*kit->control(),*/ access.base(), adr, adr_idx, val.node(),
657 static_cast<const TypeOopPtr*>(val.type()), NULL /* pre_val */, access.type()); 657 static_cast<const TypeOopPtr*>(val.type()), NULL /* pre_val */, access.type());
658 } else { 658 } else {
659 assert(access.is_opt_access(), "only for optimization passes"); 659 assert(access.is_opt_access(), "only for optimization passes");
660 assert(((decorators & C2_TIGHLY_COUPLED_ALLOC) != 0 || !ShenandoahSATBBarrier) && (decorators & C2_ARRAY_COPY) != 0, "unexpected caller of this code"); 660 assert(((decorators & C2_TIGHTLY_COUPLED_ALLOC) != 0 || !ShenandoahSATBBarrier) && (decorators & C2_ARRAY_COPY) != 0, "unexpected caller of this code");
661 C2OptAccess& opt_access = static_cast<C2OptAccess&>(access); 661 C2OptAccess& opt_access = static_cast<C2OptAccess&>(access);
662 PhaseGVN& gvn = opt_access.gvn(); 662 PhaseGVN& gvn = opt_access.gvn();
663 MergeMemNode* mm = opt_access.mem(); 663 MergeMemNode* mm = opt_access.mem();
664 664
665 if (ShenandoahStoreValReadBarrier) { 665 if (ShenandoahStoreValReadBarrier) {