< prev index next >
src/java.base/share/classes/jdk/internal/misc/Unsafe.java
Print this page
rev 47483 : [mq]: XXXXXXX-double-trouble-2
*** 570,580 ****
*/
private void checkPrimitivePointer(Object o, long offset) {
checkPointer(o, offset);
if (o != null) {
! // If on heap, it it must be a primitive array
checkPrimitiveArray(o.getClass());
}
}
--- 570,580 ----
*/
private void checkPrimitivePointer(Object o, long offset) {
checkPointer(o, offset);
if (o != null) {
! // If on heap, it must be a primitive array
checkPrimitiveArray(o.getClass());
}
}
< prev index next >