doris icon indicating copy to clipboard operation
doris copied to clipboard

[opt](bytebuffer) allocate ByteBuffer memory by Allocator and make it exception safe (#38960)

Open sollhui opened this issue 1 year ago • 5 comments

pick (#38960)

At present, the memory allocation of ByteBuffer is done through new char[capacity_]. Now, it is uniformly allocated by Allocator for the following purposes:

  1. Better memory statistics
  2. Better support for memory limit check

sollhui avatar Aug 18 '24 02:08 sollhui

Thank you for your contribution to Apache Doris. Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website. See Doris Document.

doris-robot avatar Aug 18 '24 02:08 doris-robot

run buildall

sollhui avatar Aug 18 '24 02:08 sollhui

run buildall

yiguolei avatar Aug 24 '24 12:08 yiguolei

run buildall

sollhui avatar Aug 27 '24 09:08 sollhui

run buildall

sollhui avatar Aug 29 '24 01:08 sollhui

run buildall

sollhui avatar Sep 02 '24 03:09 sollhui

run buildall

sollhui avatar Sep 02 '24 03:09 sollhui