Java Memory Model and Synchronization
0 Answers
Java Memory Model and Synchronization
| Flag | PURGE
How Java Memory Model handles code reordering when synchronized keyword is used?
(I told that as per java specification code reorder should not happen, but he was asking more clear picture like is it possible to reorder inside the synchronized block or can not reorder with respect of out of synchronized block.)
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.