renamed JavaMemory