hotspot/src/share/vm/prims/unsafe.cpp
changeset 33105 294e48b4f704
parent 31592 43f48e165466
child 33148 68fa8b6c4340
--- a/hotspot/src/share/vm/prims/unsafe.cpp	Mon Sep 28 15:05:02 2015 +0200
+++ b/hotspot/src/share/vm/prims/unsafe.cpp	Tue Sep 29 11:02:08 2015 +0200
@@ -126,7 +126,7 @@
              "raw [ptr+disp] must be consistent with oop::field_base");
     }
     jlong p_size = HeapWordSize * (jlong)(p->size());
-    assert(byte_offset < p_size, err_msg("Unsafe access: offset " INT64_FORMAT " > object's size " INT64_FORMAT, byte_offset, p_size));
+    assert(byte_offset < p_size, "Unsafe access: offset " INT64_FORMAT " > object's size " INT64_FORMAT, byte_offset, p_size);
   }
 #endif
   if (sizeof(char*) == sizeof(jint))    // (this constant folds!)