Corrected the buffer that is used by the GCAdapter thread.