started adding support for ABCL - uses java.nio.ByteBuffer as foreign memory