hotspot/src/share/vm/utilities/nativeCallStack.hpp
changeset 29462 f2e2922222a4
parent 26144 35e11b657728
--- a/hotspot/src/share/vm/utilities/nativeCallStack.hpp	Mon Mar 09 13:39:24 2015 -0400
+++ b/hotspot/src/share/vm/utilities/nativeCallStack.hpp	Tue Mar 10 04:53:58 2015 -0700
@@ -56,8 +56,8 @@
   static const NativeCallStack EMPTY_STACK;
 
  private:
-  address   _stack[NMT_TrackingStackDepth];
-  int       _hash_value;
+  address       _stack[NMT_TrackingStackDepth];
+  unsigned int  _hash_value;
 
  public:
   NativeCallStack(int toSkip = 0, bool fillStack = false);
@@ -89,7 +89,7 @@
   }
 
   // Hash code. Any better algorithm?
-  int hash() const;
+  unsigned int hash() const;
 
   void print_on(outputStream* out) const;
   void print_on(outputStream* out, int indent) const;