--- a/hotspot/src/share/vm/gc/g1/g1OopClosures.cpp Mon Sep 28 15:05:02 2015 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1OopClosures.cpp Tue Sep 29 11:02:08 2015 +0200
@@ -55,7 +55,7 @@
_worker_id = par_scan_state->worker_id();
assert(_worker_id < ParallelGCThreads,
- err_msg("The given worker id %u must be less than the number of threads %u", _worker_id, ParallelGCThreads));
+ "The given worker id %u must be less than the number of threads %u", _worker_id, ParallelGCThreads);
}
// Generate G1 specialized oop_oop_iterate functions.