Implementing the send and recv buffer for GC communication