--- a/hotspot/src/share/vm/opto/memnode.hpp Tue Aug 16 11:53:57 2011 -0700
+++ b/hotspot/src/share/vm/opto/memnode.hpp Tue Aug 16 16:59:46 2011 -0700
@@ -1278,6 +1278,16 @@
virtual int Opcode() const;
virtual uint ideal_reg() const { return NotAMachineReg; }
virtual uint match_edge(uint idx) const { return idx==2; }
+ virtual const Type *bottom_type() const { return Type::ABIO; }
+};
+
+// Allocation prefetch which may fault, TLAB size have to be adjusted.
+class PrefetchAllocationNode : public Node {
+public:
+ PrefetchAllocationNode(Node *mem, Node *adr) : Node(0,mem,adr) {}
+ virtual int Opcode() const;
+ virtual uint ideal_reg() const { return NotAMachineReg; }
+ virtual uint match_edge(uint idx) const { return idx==2; }
virtual const Type *bottom_type() const { return ( AllocatePrefetchStyle == 3 ) ? Type::MEMORY : Type::ABIO; }
};