1.1 --- a/src/share/vm/prims/jvmtiTagMap.cpp Wed Sep 25 17:47:51 2013 +0200 1.2 +++ b/src/share/vm/prims/jvmtiTagMap.cpp Thu Sep 26 10:25:02 2013 -0400 1.3 @@ -165,7 +165,7 @@ 1.4 static unsigned int hash(oop key, int size) { 1.5 // shift right to get better distribution (as these bits will be zero 1.6 // with aligned addresses) 1.7 - unsigned int addr = (unsigned int)((intptr_t)key); 1.8 + unsigned int addr = (unsigned int)(cast_from_oop<intptr_t>(key)); 1.9 #ifdef _LP64 1.10 return (addr >> 3) % size; 1.11 #else