Code Sample: Introduction to Java* API for Persistent Memory...
…PersistentIntArray data = new PersistentIntArray(1024); ObjectDirectory.put("My_fancy_persistent_array", data); // no serialization data.set(0, 123); ... This code first allocates a persistent array of integers of size 1024. After that…