corda/serialization-tests/src/test
Rick Parker b29713d7b9
ENT-6947 Intern common types to reduce heap footprint (#7239)
ENT-6947: Implement interning for SecureHash, CordaX500Name, PublicKey, AsbtractParty and SignatureAttachmentConstraint, including automatic detection of internable types off companion objects in AMQP & Kyro deserialization.  In some cases, add new factory methods to companion objects, and make main code base use them.

Performance tested in performance cluster with no negative impact visible (so default concurrency setting seems okay).

Testing suggests 5-6x memory saving for tokens in TokensSDK in memory selector.  Should see approx. 1 million tokens per GB or better (1.5 million for the tokens we tested with).
2022-10-18 09:28:41 +01:00
..
java/net/corda/serialization/internal ENT-5043 separate out test utils (#5998) 2020-03-03 15:55:17 +00:00
kotlin/net/corda/serialization/internal ENT-6947 Intern common types to reduce heap footprint (#7239) 2022-10-18 09:28:41 +01:00
resources CORDA-3206: Move serialization tests into separate module to break de… (#5452) 2019-09-12 16:14:44 +01:00
README.md CORDA-3206: Move serialization tests into separate module to break de… (#5452) 2019-09-12 16:14:44 +01:00

Adding tests to the Serialization module

Any serialization tests that require further Corda dependencies (other than core) should be added to this module.