diff -r 860ba6f8b53f -r ff58f9a8e31c hotspot/src/share/vm/opto/vectornode.hpp --- a/hotspot/src/share/vm/opto/vectornode.hpp Sat Apr 02 09:49:27 2011 -0700 +++ b/hotspot/src/share/vm/opto/vectornode.hpp Sat Apr 02 10:54:15 2011 -0700 @@ -32,6 +32,7 @@ //------------------------------VectorNode-------------------------------------- // Vector Operation class VectorNode : public Node { + virtual uint size_of() const { return sizeof(*this); } protected: uint _length; // vector length virtual BasicType elt_basic_type() const = 0; // Vector element basic type