945963ed07
DelegatingSession class wraps ClientSessionImpl and attempts to close session should it not be closed by the user. It does this by implementing finalize. However, the order in which finalize runs can be difficult to predict as compilers, and JIT compilers are able to optimize early. The current DelegatingSession was causing problems of finalize getting called early (before consumers, producers were finished with the session). This was causing tests to fail on the IBM JDK (which optimizes early). The same happens on OpenJDK if the GC is forced. |
||
---|---|---|
.. | ||
activemq5-unit-tests | ||
config | ||
extra-tests | ||
integration-tests | ||
jms-tests | ||
joram-tests | ||
performance-tests | ||
soak-tests | ||
stress-tests | ||
timing-tests | ||
unit-tests | ||
pom.xml |