comparison src/hotspot/share/opto/graphKit.hpp @ 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 70f114974aa7
children 17f85a8780d5
comparison
equal deleted inserted replaced
13:c8de41ee45d3 14:4d28b4230b44
516 // adapted the `do_put_xxx' and `do_get_xxx' procedures for the case 516 // adapted the `do_put_xxx' and `do_get_xxx' procedures for the case
517 // of volatile fields. 517 // of volatile fields.
518 Node* make_load(Node* ctl, Node* adr, const Type* t, BasicType bt, 518 Node* make_load(Node* ctl, Node* adr, const Type* t, BasicType bt,
519 MemNode::MemOrd mo, LoadNode::ControlDependency control_dependency = LoadNode::DependsOnlyOnTest, 519 MemNode::MemOrd mo, LoadNode::ControlDependency control_dependency = LoadNode::DependsOnlyOnTest,
520 bool require_atomic_access = false, bool unaligned = false, 520 bool require_atomic_access = false, bool unaligned = false,
521 bool mismatched = false) { 521 bool mismatched = false, bool unsafe = false) {
522 // This version computes alias_index from bottom_type 522 // This version computes alias_index from bottom_type
523 return make_load(ctl, adr, t, bt, adr->bottom_type()->is_ptr(), 523 return make_load(ctl, adr, t, bt, adr->bottom_type()->is_ptr(),
524 mo, control_dependency, require_atomic_access, 524 mo, control_dependency, require_atomic_access,
525 unaligned, mismatched); 525 unaligned, mismatched, unsafe);
526 } 526 }
527 Node* make_load(Node* ctl, Node* adr, const Type* t, BasicType bt, const TypePtr* adr_type, 527 Node* make_load(Node* ctl, Node* adr, const Type* t, BasicType bt, const TypePtr* adr_type,
528 MemNode::MemOrd mo, LoadNode::ControlDependency control_dependency = LoadNode::DependsOnlyOnTest, 528 MemNode::MemOrd mo, LoadNode::ControlDependency control_dependency = LoadNode::DependsOnlyOnTest,
529 bool require_atomic_access = false, bool unaligned = false, 529 bool require_atomic_access = false, bool unaligned = false,
530 bool mismatched = false) { 530 bool mismatched = false, bool unsafe = false) {
531 // This version computes alias_index from an address type 531 // This version computes alias_index from an address type
532 assert(adr_type != NULL, "use other make_load factory"); 532 assert(adr_type != NULL, "use other make_load factory");
533 return make_load(ctl, adr, t, bt, C->get_alias_index(adr_type), 533 return make_load(ctl, adr, t, bt, C->get_alias_index(adr_type),
534 mo, control_dependency, require_atomic_access, 534 mo, control_dependency, require_atomic_access,
535 unaligned, mismatched); 535 unaligned, mismatched, unsafe);
536 } 536 }
537 // This is the base version which is given an alias index. 537 // This is the base version which is given an alias index.
538 Node* make_load(Node* ctl, Node* adr, const Type* t, BasicType bt, int adr_idx, 538 Node* make_load(Node* ctl, Node* adr, const Type* t, BasicType bt, int adr_idx,
539 MemNode::MemOrd mo, LoadNode::ControlDependency control_dependency = LoadNode::DependsOnlyOnTest, 539 MemNode::MemOrd mo, LoadNode::ControlDependency control_dependency = LoadNode::DependsOnlyOnTest,
540 bool require_atomic_access = false, bool unaligned = false, 540 bool require_atomic_access = false, bool unaligned = false,
541 bool mismatched = false); 541 bool mismatched = false, bool unsafe = false);
542 542
543 // Create & transform a StoreNode and store the effect into the 543 // Create & transform a StoreNode and store the effect into the
544 // parser's memory state. 544 // parser's memory state.
545 // 545 //
546 // We must ensure that stores of object references will be visible 546 // We must ensure that stores of object references will be visible
551 Node* store_to_memory(Node* ctl, Node* adr, Node* val, BasicType bt, 551 Node* store_to_memory(Node* ctl, Node* adr, Node* val, BasicType bt,
552 const TypePtr* adr_type, 552 const TypePtr* adr_type,
553 MemNode::MemOrd mo, 553 MemNode::MemOrd mo,
554 bool require_atomic_access = false, 554 bool require_atomic_access = false,
555 bool unaligned = false, 555 bool unaligned = false,
556 bool mismatched = false) { 556 bool mismatched = false,
557 bool unsafe = false) {
557 // This version computes alias_index from an address type 558 // This version computes alias_index from an address type
558 assert(adr_type != NULL, "use other store_to_memory factory"); 559 assert(adr_type != NULL, "use other store_to_memory factory");
559 return store_to_memory(ctl, adr, val, bt, 560 return store_to_memory(ctl, adr, val, bt,
560 C->get_alias_index(adr_type), 561 C->get_alias_index(adr_type),
561 mo, require_atomic_access, 562 mo, require_atomic_access,
566 Node* store_to_memory(Node* ctl, Node* adr, Node* val, BasicType bt, 567 Node* store_to_memory(Node* ctl, Node* adr, Node* val, BasicType bt,
567 int adr_idx, 568 int adr_idx,
568 MemNode::MemOrd, 569 MemNode::MemOrd,
569 bool require_atomic_access = false, 570 bool require_atomic_access = false,
570 bool unaligned = false, 571 bool unaligned = false,
571 bool mismatched = false); 572 bool mismatched = false,
573 bool unsafe = false);
572 574
573 // Perform decorated accesses 575 // Perform decorated accesses
574 576
575 Node* access_store_at(Node* obj, // containing obj 577 Node* access_store_at(Node* obj, // containing obj
576 Node* adr, // actual adress to store val at 578 Node* adr, // actual adress to store val at