8198560: Remove implicit casts from oop to JavaThread* and jlong*
Reviewed-by: kbarrett, coleenp, tschatzl
--- a/src/hotspot/share/oops/oopsHierarchy.hpp Fri Feb 23 07:47:29 2018 -0500
+++ b/src/hotspot/share/oops/oopsHierarchy.hpp Fri Feb 23 09:15:42 2018 +0100
@@ -125,13 +125,6 @@
// from javaCalls.cpp
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 ObjArrayKlass.cpp)