Shared memory does not have any relationship with 64bit multiplication.
In java Long is 64 bit. I don't see the issue of implementing anyway.
Memory can be shared in couple of ways. Read the following stackoverflow
] for better understanding.
And if you have exclusive problem sharing a 64 bit memory then you may need to take special look on your data type