Cache using jvm direct memory