--- a/hotspot/src/share/vm/asm/assembler.cpp Mon Sep 28 15:05:02 2015 +0200
+++ b/hotspot/src/share/vm/asm/assembler.cpp Tue Sep 29 11:02:08 2015 +0200
@@ -43,8 +43,7 @@
CodeSection* cs = code->insts();
cs->clear_mark(); // new assembler kills old mark
if (cs->start() == NULL) {
- vm_exit_out_of_memory(0, OOM_MMAP_ERROR, err_msg("CodeCache: no room for %s",
- code->name()));
+ vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "CodeCache: no room for %s", code->name());
}
_code_section = cs;
_oop_recorder= code->oop_recorder();