< prev index next >

src/hotspot/share/oops/accessBackend.hpp

Print this page
rev 52371 : [mq]: lvb.patch

*** 408,418 **** static void clone(oop src, oop dst, size_t size); static oop resolve(oop obj) { return obj; } ! static bool equals(oop o1, oop o2) { return o1 == o2; } }; // Below is the implementation of the first 4 steps of the template pipeline: // * Step 1: Set default decorators and decay types. This step gets rid of CV qualifiers // and sets default decorators to sensible values. --- 408,424 ---- static void clone(oop src, oop dst, size_t size); static oop resolve(oop obj) { return obj; } ! static bool equals(oop o1, oop o2) { ! #ifndef CHECK_UNHANDLED_OOPS ! return o1 == o2; ! #else ! return o1.obj() == o2.obj(); ! #endif ! } }; // Below is the implementation of the first 4 steps of the template pipeline: // * Step 1: Set default decorators and decay types. This step gets rid of CV qualifiers // and sets default decorators to sensible values.
< prev index next >