Add direct byffer release sample

Confirm if byffer is released or not by checking BufferPoolMXBean.