Garbage-free binary logging for Java