6877254: Server vm crashes with no branches off of store slice" when run with CMS and UseSuperWord(default)

Design StoreCMNode::Ideal to promote its oopStore input if the input is a MergeMem node

Reviewed-by: kvn, never
This commit is contained in:
Changpeng Fang 2009-09-14 09:49:54 -07:00
parent e0519e7bbd
commit c492f4cde5
8 changed files with 86 additions and 14 deletions

View file

@ -603,7 +603,8 @@ class GraphKit : public Phase {
void sync_kit(IdealKit& ideal);
// vanilla/CMS post barrier
void write_barrier_post(Node *store, Node* obj, Node* adr, Node* val, bool use_precise);
void write_barrier_post(Node *store, Node* obj,
Node* adr, uint adr_idx, Node* val, bool use_precise);
// G1 pre/post barriers
void g1_write_barrier_pre(Node* obj,
@ -622,7 +623,8 @@ class GraphKit : public Phase {
bool use_precise);
// Helper function for g1
private:
void g1_mark_card(IdealKit& ideal, Node* card_adr, Node* store, Node* index, Node* index_adr,
void g1_mark_card(IdealKit& ideal, Node* card_adr, Node* store, uint oop_alias_idx,
Node* index, Node* index_adr,
Node* buffer, const TypeFunc* tf);
public: