# HG changeset patch # User eosterlund # Date 1519373742 -3600 # Node ID 045b2de329b9ff7694cc2e155609e56081e2e1e0 # Parent 91ada5977172b6c0097efd37da176fa82ef78fe6 8198560: Remove implicit casts from oop to JavaThread* and jlong* Reviewed-by: kbarrett, coleenp, tschatzl diff -r 91ada5977172 -r 045b2de329b9 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)