Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

calling free in multi threading environment

19 views
Skip to first unread message

wolf....@gmx.net

unread,
Feb 16, 2017, 5:27:55 AM2/16/17
to
Hi,

I`m using Openssl 1.1 in a multi threading server java environment. I experienced the following issue. We use Phantom References instead of overwriting the finalize method and a reaper thread for freeing native resources. But with more and more requests I see that the called free of structures are not really freed, I use the mem debug facility of openssl to track memory leaks.

My question is it a problem to malloc memory in a worker thread and release that memory later in a different reaper thread? I think yes because when I release the memory inside the worker thread the memory leaks are gone. But in some rare cases where we`ve implemented the java signature class it is cached on provider level and we have to use the reaper thread, becuase by design you have not access to that SPI classes.



Robert Rodriguez

unread,
Jul 19, 2023, 7:32:19 AM7/19/23
to
If you notice that your garage door springs https://garagedoorrepairmidlothianva.com/ seem to be damaged, then it’s time for a Garage Door Spring Repair Service by Integrity Garage Door Repair.

Ramsha Afzal

unread,
Jul 22, 2023, 9:08:13 AM7/22/23
to
Stay informed about the safety and security situation in Pune with updates on criminal activities, law enforcement efforts, and measures taken to ensure public safety. Visit: punenewstoday.in

Robert Rodriguez

unread,
Jul 25, 2023, 5:41:36 AM7/25/23
to
I read a article under the same title some time ago https://onegoodhandyman.co.uk/north-london/, but this articles quality is much, much better. How you do this..
0 new messages