< prev index next >

src/share/vm/code/nmethod.cpp

Print this page

        

@@ -2088,11 +2088,11 @@
   bool     _ok;
 public:
   VerifyOopsClosure(nmethod* nm) : _nm(nm), _ok(true) { }
   bool ok() { return _ok; }
   virtual void do_oop(oop* p) {
-    if ((*p) == NULL || (*p)->is_oop())  return;
+    if ((*p) == NULL || oopDesc::is_oop(*p))  return;
     if (_ok) {
       _nm->print_nmethod(true);
       _ok = false;
     }
     tty->print_cr("*** non-oop " PTR_FORMAT " found at " PTR_FORMAT " (offset %d)",

@@ -2110,11 +2110,11 @@
     return;
 
   // Make sure all the entry points are correctly aligned for patching.
   NativeJump::check_verified_entry_alignment(entry_point(), verified_entry_point());
 
-  // assert(method()->is_oop(), "must be valid");
+  // assert(oopDesc::is_oop(method()), "must be valid");
 
   ResourceMark rm;
 
   if (!CodeCache::contains(this)) {
     fatal("nmethod at " INTPTR_FORMAT " not in zone", p2i(this));
< prev index next >