src/hotspot/share/runtime/handles.hpp
changeset 58177 4932dce35882
parent 53682 e30211561a17
child 59056 15936b142f86
equal deleted inserted replaced
58176:470af058bd5f 58177:4932dce35882
    77 
    77 
    78   // General access
    78   // General access
    79   oop     operator () () const                   { return obj(); }
    79   oop     operator () () const                   { return obj(); }
    80   oop     operator -> () const                   { return non_null_obj(); }
    80   oop     operator -> () const                   { return non_null_obj(); }
    81 
    81 
    82   bool operator == (oop o) const                 { return oopDesc::equals(obj(), o); }
    82   bool operator == (oop o) const                 { return obj() == o; }
    83   bool operator == (const Handle& h) const       { return oopDesc::equals(obj(), h.obj()); }
    83   bool operator == (const Handle& h) const       { return obj() == h.obj(); }
    84 
    84 
    85   // Null checks
    85   // Null checks
    86   bool    is_null() const                        { return _handle == NULL; }
    86   bool    is_null() const                        { return _handle == NULL; }
    87   bool    not_null() const                       { return _handle != NULL; }
    87   bool    not_null() const                       { return _handle != NULL; }
    88 
    88