changeset 49236:045b2de329b9

8198560: Remove implicit casts from oop to JavaThread* and jlong* Reviewed-by: kbarrett, coleenp, tschatzl
author eosterlund
date Fri, 23 Feb 2018 09:15:42 +0100
parents 91ada5977172
children c548301de07e
files src/hotspot/share/oops/oopsHierarchy.hpp
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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)