Direct memory implementation  - compatibility with Java 1.6 was restored.