PROTON-2609 Remove buffer slices and duplicates from the codec

The decoder creates ByteBuffer slices and duplicates for operations
that really on need simple state tracking to set limits for gets
when copying incoming buffers to byte arrays for String or Symbol
decoding. We can reduce GC pressure under load by just removing
those in the codec without and impact on the API.
6 files changed
tree: 667960dfa268c253971a62fbe54cdf5590eda907
  1. .github/
  2. apache-qpid-proton-j/
  3. examples/
  4. proton-j/
  5. tests/
  6. .asf.yaml
  7. .gitignore
  8. .mailmap
  9. .travis.yml
  10. appveyor.yml
  11. LICENSE
  12. NOTICE
  13. pom.xml
  14. README.md
README.md

Apache Qpid Proton-J

Linux Build Status Windows Build Status

Qpid Proton-J is a high-performance, lightweight messaging library. It can be used in the widest range of messaging applications, including brokers, clients libraries, routers, bridges, proxies, and more.

Please see https://qpid.apache.org/proton for more information.