< prev index next >

src/hotspot/share/opto/library_call.cpp

Print this page
rev 54212 : 8220714: C2 Compilation failure when accessing off-heap memory using Unsafe

*** 2405,2415 **** } else if (type == T_OBJECT) { return false; // off-heap oop accesses are not supported } // Can base be NULL? Otherwise, always on-heap access. ! bool can_access_non_heap = TypePtr::NULL_PTR->higher_equal(_gvn.type(heap_base_oop)); if (!can_access_non_heap) { decorators |= IN_HEAP; } --- 2405,2415 ---- } else if (type == T_OBJECT) { return false; // off-heap oop accesses are not supported } // Can base be NULL? Otherwise, always on-heap access. ! bool can_access_non_heap = TypePtr::NULL_PTR->higher_equal(_gvn.type(base)); if (!can_access_non_heap) { decorators |= IN_HEAP; }
< prev index next >