Lines Matching defs:jobj
1209 int ConnectionGraph::add_java_object_edges(JavaObjectNode* jobj, bool populate_worklist) {
1212 // Populate _worklist by uses of jobj's uses.
1213 for (UseIterator i(jobj); i.has_next(); i.next()) {
1228 // Add reference from jobj to field and from field to jobj (field's base).
1230 if (add_base(use->as_Field(), jobj)) {
1237 if (jobj == null_obj) // NULL object does not have field edges
1240 if (add_edge(use, jobj)) {
1241 jobj->set_arraycopy_src();
1247 if (!add_edge(use, jobj))
1256 if (jobj == null_obj) // NULL object does not have field edges
1259 if (add_edge(jobj, e)) {
1261 jobj->set_arraycopy_dst();
1522 void ConnectionGraph::adjust_scalar_replaceable_state(JavaObjectNode* jobj) {
1529 for (UseIterator i(jobj); i.has_next(); i.next()) {
1537 jobj->set_scalar_replaceable(false);
1545 if (ptn->is_JavaObject() && ptn != jobj) {
1547 jobj->set_scalar_replaceable(false);
1551 if (!jobj->scalar_replaceable()) {
1556 for (EdgeIterator j(jobj); j.has_next(); j.next()) {
1564 jobj->set_scalar_replaceable(false);
1573 jobj->set_scalar_replaceable(false);
1600 if (base->is_JavaObject() && base != jobj) {
1602 jobj->set_scalar_replaceable(false);
1960 JavaObjectNode* jobj = NULL;
1964 if (jobj == NULL) {
1965 jobj = e->as_JavaObject();
1966 } else if (jobj != e) {
1971 return jobj;
2063 bool FieldNode::has_base(JavaObjectNode* jobj) const {
2065 if (i.get() == jobj)
2831 JavaObjectNode* jobj = unique_java_object(get_addp_base(n));
2832 if (jobj == NULL || jobj == phantom_obj) {
2836 assert(jobj != NULL && jobj != phantom_obj, "escaped allocation");
2841 Node *base = get_map(jobj->idx()); // CheckCastPP node
2852 JavaObjectNode* jobj = unique_java_object(n);
2853 if (jobj == NULL || jobj == phantom_obj) {
2856 assert(jobj != NULL && jobj != phantom_obj, "escaped allocation");
2861 Node *val = get_map(jobj->idx()); // CheckCastPP node
2865 tinst->instance_id() == jobj->idx() , "instance type expected.");