You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Petrov (Jira)" <ji...@apache.org> on 2020/08/27 15:11:00 UTC
[jira] [Updated] (CASSANDRA-15240) Reinstate support for native
libraries for in-JVM dtests
[ https://issues.apache.org/jira/browse/CASSANDRA-15240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Petrov updated CASSANDRA-15240:
------------------------------------
Component/s: (was: Test/dtest/python)
Test/dtest/java
> Reinstate support for native libraries for in-JVM dtests
> --------------------------------------------------------
>
> Key: CASSANDRA-15240
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15240
> Project: Cassandra
> Issue Type: Improvement
> Components: Test/dtest/java
> Reporter: Jon Meredith
> Priority: Normal
>
> While working on CASSANDRA-15170 native libraries for libc functions, epoll support and openssl were observed holding gcroots to the instance class loaders when in-JVM dtest {{with(NETWORK)}} support was enabled. The solution for CASSANDRA-15170 was to disable native libraries to get everything working, but this is not ideal because in-JVM tests will not be testing the real code on that platform.
> One proposed solution from [~ifesdjeen] and [~benedict] is to introduce an additional classloader per-Cassandra version that can be used for loading native libraries and share the {{CassandraVersionClassLoader}} by each instance of that version, enabling the {{InstanceClassLoader}} to be garbage collected.
> {noformat}
> CLibrary
> com.sun.jna.Native.registeredClasses
> com.sun.jna.Native.options
> com.sun.jna.Native.registredLibraries
> Netty
> io.netty.channel.ChannelException
> io.netty.channel.unix.DatagramSocketAddress
> io.netty.channel.unix.PeerCredentials
> io.netty.internal.tcnative.CertificateCallbackTask
> io.netty.internal.tcnative.CertificateVerifierTask
> io.netty.internal.tcnative.SSLPrivateKeyMethodDecryptTask
> io.netty.internal.tcnative.SSLPrivateKeyMethodSignTask
> io.netty.internal.tcnative.SSLPrivateKeyMethodTask
> io.netty.internal.tcnative.SSLTask
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org