volatile VS synchronization
What is advantage of volatile of memory and cache?
Printable View
volatile VS synchronization
What is advantage of volatile of memory and cache?
Have you looked at the first link here ?
One can think effectively only when one is willing to endure suspense and to undergo the trouble of searching...
J. Dewey
Why don't you try running the two and telling us? Posting code and asking "what does this do?" isn't really a question. If you want to profile the two you can use VisualVM in order to see how much memory is being used when you call the two functions.