Improved and cleaned up SharedGroup::ringbuf_expand()
Improved and cleaned up SharedGroup::ringbuf_expand()

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core