comparison src/share/vm/opto/macro.hpp @ 10278:6f3fd5150b67

6934604: enable parts of EliminateAutoBox by default Summary: Resurrected autobox elimination code and enabled part of it by default. Reviewed-by: roland, twisti
author kvn
date Wed, 08 May 2013 15:08:01 -0700
parents b9a9ed0f8eeb
children de6a9e811145
comparison
equal deleted inserted replaced
10277:aabf54ccedb1 10278:6f3fd5150b67
84 const TypeFunc* slow_call_type, 84 const TypeFunc* slow_call_type,
85 address slow_call_address); 85 address slow_call_address);
86 Node *value_from_mem(Node *mem, BasicType ft, const Type *ftype, const TypeOopPtr *adr_t, Node *alloc); 86 Node *value_from_mem(Node *mem, BasicType ft, const Type *ftype, const TypeOopPtr *adr_t, Node *alloc);
87 Node *value_from_mem_phi(Node *mem, BasicType ft, const Type *ftype, const TypeOopPtr *adr_t, Node *alloc, Node_Stack *value_phis, int level); 87 Node *value_from_mem_phi(Node *mem, BasicType ft, const Type *ftype, const TypeOopPtr *adr_t, Node *alloc, Node_Stack *value_phis, int level);
88 88
89 bool eliminate_boxing_node(CallStaticJavaNode *boxing);
89 bool eliminate_allocate_node(AllocateNode *alloc); 90 bool eliminate_allocate_node(AllocateNode *alloc);
90 bool can_eliminate_allocation(AllocateNode *alloc, GrowableArray <SafePointNode *>& safepoints); 91 bool can_eliminate_allocation(AllocateNode *alloc, GrowableArray <SafePointNode *>& safepoints);
91 bool scalar_replacement(AllocateNode *alloc, GrowableArray <SafePointNode *>& safepoints_done); 92 bool scalar_replacement(AllocateNode *alloc, GrowableArray <SafePointNode *>& safepoints_done);
92 void process_users_of_allocation(AllocateNode *alloc); 93 void process_users_of_allocation(CallNode *alloc);
93 94
94 void eliminate_card_mark(Node *cm); 95 void eliminate_card_mark(Node *cm);
95 void mark_eliminated_box(Node* box, Node* obj); 96 void mark_eliminated_box(Node* box, Node* obj);
96 void mark_eliminated_locking_nodes(AbstractLockNode *alock); 97 void mark_eliminated_locking_nodes(AbstractLockNode *alock);
97 bool eliminate_locking_node(AbstractLockNode *alock); 98 bool eliminate_locking_node(AbstractLockNode *alock);