Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/oopsHierarchy.hpp @ 513:2328d1d3f8cf
6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
Summary: Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2
Reviewed-by: jcoomes, acorn, phh, never
author | xlu |
---|---|
date | Wed, 24 Dec 2008 19:13:53 -0800 |
parents | d1605aabd0a1 |
children | 0fbdb4381b99 |
line wrap: on
line diff
--- a/src/share/vm/oops/oopsHierarchy.hpp Wed Dec 24 13:06:09 2008 -0800 +++ b/src/share/vm/oops/oopsHierarchy.hpp Wed Dec 24 19:13:53 2008 -0800 @@ -126,8 +126,11 @@ operator jobject () const { return (jobject)obj(); } // from javaClasses.cpp operator JavaThread* () const { return (JavaThread*)obj(); } + +#ifndef _LP64 // from jvm.cpp operator jlong* () const { return (jlong*)obj(); } +#endif // from parNewGeneration and other things that want to get to the end of // an oop for stuff (like constMethodKlass.cpp, objArrayKlass.cpp)