You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Depending on platform, JVM, and concurrent load, concurrent calls to the
getPool() method of the PoolFactory class may result in a crash.
2.
3.
What is the expected output? What do you see instead?
It is expected that many threads may concurrently call getPool() on the same
PoolFactory, and the same correctly initialized pool must be returned. It is
possible however for the program to crash.
What version of the product are you using? On what operating system?
version 1.1.2 on Windows 7
Please provide any additional information below.
Check the internet for "Double Checked Locking in Java" to see exactly why the
PoolFactory class is broken in a subtle way, and also how to easily fix it for
J2SE 1.5 and later.
Original issue reported on code.google.com by i.t.chri...@gmail.com on 4 Jan 2015 at 11:01
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
i.t.chri...@gmail.com
on 4 Jan 2015 at 11:01The text was updated successfully, but these errors were encountered: