hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 46968 9119841280f4
parent 46727 6e4a84748e2c
child 46998 efb404beeefb
--- a/hotspot/src/share/vm/runtime/deoptimization.cpp	Wed Aug 23 10:25:25 2017 +0200
+++ b/hotspot/src/share/vm/runtime/deoptimization.cpp	Wed Aug 23 14:52:55 2017 -0400
@@ -217,7 +217,7 @@
         // Reallocation may trigger GC. If deoptimization happened on return from
         // call which returns oop we need to save it since it is not in oopmap.
         oop result = deoptee.saved_oop_result(&map);
-        assert(result == NULL || result->is_oop(), "must be oop");
+        assert(oopDesc::is_oop_or_null(result), "must be oop");
         return_value = Handle(thread, result);
         assert(Universe::heap()->is_in_or_null(result), "must be heap pointer");
         if (TraceDeoptimization) {