< prev index next >

src/share/vm/utilities/nativeCallStack.hpp

Print this page
rev 7876 : [mq]: nmtfix

*** 55,65 **** public: static const NativeCallStack EMPTY_STACK; private: address _stack[NMT_TrackingStackDepth]; ! int _hash_value; public: NativeCallStack(int toSkip = 0, bool fillStack = false); NativeCallStack(address* pc, int frameCount); --- 55,65 ---- public: static const NativeCallStack EMPTY_STACK; private: address _stack[NMT_TrackingStackDepth]; ! unsigned int _hash_value; public: NativeCallStack(int toSkip = 0, bool fillStack = false); NativeCallStack(address* pc, int frameCount);
*** 87,97 **** assert(index >= 0 && index < NMT_TrackingStackDepth, "Index out of bound"); return _stack[index]; } // Hash code. Any better algorithm? ! int hash() const; void print_on(outputStream* out) const; void print_on(outputStream* out, int indent) const; }; --- 87,97 ---- assert(index >= 0 && index < NMT_TrackingStackDepth, "Index out of bound"); return _stack[index]; } // Hash code. Any better algorithm? ! unsigned int hash() const; void print_on(outputStream* out) const; void print_on(outputStream* out, int indent) const; };
< prev index next >