8198560: Remove implicit casts from oop to JavaThread* and jlong*
authoreosterlund
Fri, 23 Feb 2018 09:15:42 +0100
changeset 49057 045b2de329b9
parent 49056 91ada5977172
child 49059 c548301de07e
8198560: Remove implicit casts from oop to JavaThread* and jlong* Reviewed-by: kbarrett, coleenp, tschatzl
src/hotspot/share/oops/oopsHierarchy.hpp
--- 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)