hotspot/src/share/vm/code/codeCache.cpp
changeset 33105 294e48b4f704
parent 32466 915d0c3d25aa
child 34158 1f8d643b02d5
--- a/hotspot/src/share/vm/code/codeCache.cpp	Mon Sep 28 15:05:02 2015 +0200
+++ b/hotspot/src/share/vm/code/codeCache.cpp	Tue Sep 29 11:02:08 2015 +0200
@@ -365,7 +365,7 @@
   // Possibly wakes up the sweeper thread.
   NMethodSweeper::notify(code_blob_type);
   assert_locked_or_safepoint(CodeCache_lock);
-  assert(size > 0, err_msg_res("Code cache allocation request must be > 0 but is %d", size));
+  assert(size > 0, "Code cache allocation request must be > 0 but is %d", size);
   if (size <= 0) {
     return NULL;
   }
@@ -817,7 +817,7 @@
   double max_capacity = (double)heap->max_capacity();
   double result = max_capacity / unallocated_capacity;
   assert (max_capacity >= unallocated_capacity, "Must be");
-  assert (result >= 1.0, err_msg_res("reverse_free_ratio must be at least 1. It is %f", result));
+  assert (result >= 1.0, "reverse_free_ratio must be at least 1. It is %f", result);
   return result;
 }