Some uses of unsafe is s follows:
UseAPIOff heap / direct memory allocation, reallocation and deallocationallocateMemory(bytes), reallocateMemory(address, bytes) and freeMemory(address)Memory fencesloadFence(), storeFence(), fullFence()Parking current threadpark(isAbsolute, time), unpark(thread)Dir...