Closed sureshbabuinfo closed 9 years ago
Hello JVM doesn't exit because there are background threads which takes care of garbage collection of offheap.
@sureshbabuinfo is indirectly asking for the background threads to be daemons. Since off-heap data is not accessed or persisted across JVM instances, and the OS will cleanup the process's resources, it should be safe to exit as daemon threads.
Fixed the issue.
I am trying to integrate IMCache offheap with web application. When I ran the samples given(Added the code below), JVM never exits after successfully executing the code.
How can I integrate offheap cache with my web application?
Here is the stack overflow discussion link:
http://stackoverflow.com/questions/31145249/integrate-imcache-with-web-application?noredirect=1#comment50346715_31145249