[jira] [Commented] (CRYPTO-166) Library is reloaded multiple times

2023-11-24 Thread Sebb (Jira)


[ 
https://issues.apache.org/jira/browse/CRYPTO-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789525#comment-17789525
 ] 

Sebb commented on CRYPTO-166:
-

Library reloading was fixed by CRYPTO-168.

However, the symbols are also fetched multiple times

> Library is reloaded multiple times
> --
>
> Key: CRYPTO-166
> URL: https://issues.apache.org/jira/browse/CRYPTO-166
> Project: Commons Crypto
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Sebb
>Priority: Minor
>
> It looks like the JNI code keeps reloading the library, from which it then 
> has to retrieve the symbols it needs.
> This is inefficient, and it means the handle reference count is increased 
> unnecessarily.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (CRYPTO-166) Library is reloaded multiple times

2023-10-29 Thread Sebb (Jira)


[ 
https://issues.apache.org/jira/browse/CRYPTO-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17780733#comment-17780733
 ] 

Sebb commented on CRYPTO-166:
-

I wonder if this is related to CRYPTO-170?

> Library is reloaded multiple times
> --
>
> Key: CRYPTO-166
> URL: https://issues.apache.org/jira/browse/CRYPTO-166
> Project: Commons Crypto
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Sebb
>Priority: Minor
>
> It looks like the JNI code keeps reloading the library, from which it then 
> has to retrieve the symbols it needs.
> This is inefficient, and it means the handle reference count is increased 
> unnecessarily.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (CRYPTO-166) Library is reloaded multiple times

2022-06-30 Thread Sebb (Jira)


[ 
https://issues.apache.org/jira/browse/CRYPTO-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17561195#comment-17561195
 ] 

Sebb commented on CRYPTO-166:
-

This applies to the OpenSslInfoNative.c module, which it turns out is only used 
by the Crypto main class.

However it would be better to load it just once.

> Library is reloaded multiple times
> --
>
> Key: CRYPTO-166
> URL: https://issues.apache.org/jira/browse/CRYPTO-166
> Project: Commons Crypto
>  Issue Type: Bug
>Affects Versions: 1.1.1
>Reporter: Sebb
>Priority: Minor
>
> It looks like the JNI code keeps reloading the library, from which it then 
> has to retrieve the symbols it needs.
> This is inefficient, and it means the handle reference count is increased 
> unnecessarily.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)