rest_hdr = GC_install_header(rest);
if (0 == rest_hdr) {
/* FIXME: This is likely to be very bad news ... */
- WARN("Header allocation failed: Dropping block.\n", 0);
+ WARN("Header allocation failed: dropping block\n", 0);
return(0);
}
rest_hdr -> hb_sz = total_size - bytes;
>= GC_large_alloc_warn_interval) {
WARN("Repeated allocation of very large block "
"(appr. size %" WARN_PRIdPTR "):\n"
- "\tMay lead to memory leak and poor performance.\n",
+ "\tMay lead to memory leak and poor performance\n",
size_needed);
GC_large_alloc_warn_suppressed = 0;
}
GC_gcollect_inner();
GC_ASSERT(GC_bytes_allocd == 0);
} else if (GC_fail_count++ < GC_max_retries) {
- WARN("Out of Memory! Trying to continue ...\n", 0);
+ WARN("Out of Memory! Trying to continue...\n", 0);
GC_gcollect_inner();
} else {
# if !defined(AMIGA) || !defined(GC_AMIGA_FASTALLOC)
if (zero_fd == -1)
ABORT("Could not open /dev/zero");
if (fcntl(zero_fd, F_SETFD, FD_CLOEXEC) == -1)
- WARN("Could not set FD_CLOEXEC for /dev/zero", 0);
+ WARN("Could not set FD_CLOEXEC for /dev/zero\n", 0);
initialized = TRUE;
}
ABORT("/proc open failed");
}
if (syscall(SYS_fcntl, GC_proc_fd, F_SETFD, FD_CLOEXEC) == -1)
- WARN("Could not set FD_CLOEXEC for /proc", 0);
+ WARN("Could not set FD_CLOEXEC for /proc\n", 0);
GC_dirty_maintained = TRUE;
GC_proc_buf = GC_scratch_alloc(GC_proc_buf_size);
bufp = (char *)(((word)bufp + (sizeof(long)-1)) & ~(sizeof(long)-1));
}
# ifdef DEBUG_DIRTY_BITS
- GC_log_printf("Proc VDB read done.\n");
+ GC_log_printf("Proc VDB read done\n");
# endif
/* Update GC_written_pages. */
ABORT("Got more than 8 SIGBUSs in a row!");
} else {
GC_sigbus_count++;
- WARN("Ignoring SIGBUS.\n", 0);
+ WARN("Ignoring SIGBUS\n", 0);
}
}
#endif /* BROKEN_EXCEPTION_HANDLING */
" virtual dirty bit implementation\n");
# ifdef BROKEN_EXCEPTION_HANDLING
WARN("Enabling workarounds for various darwin "
- "exception handling bugs.\n", 0);
+ "exception handling bugs\n", 0);
# endif
GC_dirty_maintained = TRUE;
if (GC_page_size % HBLKSIZE != 0) {
marker_last_stack_min[i] = ADDR_LIMIT;
if (0 != pthread_create(&new_thread, &attr,
GC_mark_thread, (void *)(word)i)) {
- WARN("Marker thread creation failed.\n", 0);
+ WARN("Marker thread creation failed\n", 0);
/* Don't try to create other marker threads. */
break;
}