Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cascaded Multi Size Based Allocators Achiving the 'infinite' space ability as ACE_Malloc #2135

Open
wants to merge 92 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
bd320b1
can compiled successfully on Windows Plat
smithAchang Sep 3, 2023
37dc8f4
Allocator_Cascaded_Test.cpp增加
smithAchang Sep 3, 2023
c61b9be
add the 2*sum(Allocator of hierarchy) testing case
smithAchang Sep 4, 2023
6166f88
bin/fuzz.pl find trailing whitespace
smithAchang Sep 4, 2023
32d3d1f
bin/fuzz.pl find trailing whitespace 2
smithAchang Sep 4, 2023
e2a5511
compiler error
smithAchang Sep 4, 2023
6835890
dsfdsdfMerge branch 'cascadedAllocator' of github.com:smithAchang/ACE…
smithAchang Sep 4, 2023
150eb7b
use std::vector
smithAchang Sep 4, 2023
089af45
linux compiling error & fix issue
smithAchang Sep 5, 2023
ac87bd4
according the routine of test framework
smithAchang Sep 5, 2023
b71f82d
key design comment for free API
smithAchang Sep 5, 2023
34abb6e
fix space indent & const member field
smithAchang Sep 5, 2023
cf39680
using instead of typedef, will be fitter for template declaration
smithAchang Sep 5, 2023
78e7165
remove duplicate empty lines
smithAchang Sep 5, 2023
e5e55bc
free protected when malloc in constructor failed
smithAchang Sep 5, 2023
00016bf
1. add assert for free API
smithAchang Sep 5, 2023
912d9db
add comments for ACE_NEW fail in constructor
smithAchang Sep 6, 2023
833bc87
Merge branch 'master' into cascadedAllocator
smithAchang Sep 6, 2023
40675b0
fix ""One line, indent is always 2 spaces
smithAchang Sep 7, 2023
148734d
Merge branch 'cascadedAllocator' of github.com:smithAchang/ACE_TAO in…
smithAchang Sep 7, 2023
6e9a17c
for g++ -fno-implicit-templates consideration
smithAchang Sep 8, 2023
d065069
implement the dump API
smithAchang Sep 16, 2023
eba85a4
fix for statement of dump API
smithAchang Sep 16, 2023
1e1862d
fix trailing whitespace
smithAchang Sep 16, 2023
0f26ecb
add hierarchy_.size () for dump API
smithAchang Sep 18, 2023
4a7fcd0
1、fix some coding style using this keyword to distinguish vars
smithAchang Sep 22, 2023
cf686b3
add the pool_sum api
smithAchang Sep 22, 2023
939a2a2
can compile successfully
smithAchang Sep 23, 2023
4c27ab0
1、fix constructor description
smithAchang Sep 23, 2023
9d484de
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 23, 2023
66eb254
ACE_NEW* macro function should be split by empty line
smithAchang Sep 23, 2023
8210ac0
1、split ACE_NEW* with empty line, the macro function may end the flow
smithAchang Sep 23, 2023
365e0b1
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 23, 2023
8c1ee77
add Test Case
smithAchang Sep 23, 2023
d8626e9
add Test Case
smithAchang Sep 23, 2023
ec8de03
remove trailing whitespace
smithAchang Sep 23, 2023
59e5c7a
add class description
smithAchang Sep 23, 2023
1eeef7a
1、fix wchar compiling error
smithAchang Sep 24, 2023
7d33ad1
fix codacy static code Analysis issues
smithAchang Sep 24, 2023
863b056
fix cor chunk_size parameter name to initial_chunk_size
smithAchang Sep 25, 2023
10558bd
add calloc api test
smithAchang Sep 25, 2023
e8d9b51
1、fix unsupported API return nullptr
smithAchang Sep 25, 2023
6b2ba92
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 25, 2023
f94bea9
fix malloc issue
smithAchang Sep 25, 2023
1ce76a3
keep each level add header delta
smithAchang Sep 25, 2023
cca031f
fix misspell of test cpp
smithAchang Sep 25, 2023
34850b6
remove modification of nbytes += 1
smithAchang Sep 26, 2023
63e543f
add deeply test case for calloc API
smithAchang Sep 26, 2023
1ed55f1
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 26, 2023
5dde2d6
fix some comment code style
smithAchang Sep 26, 2023
dbac54e
fix ACE_TEXT_CHAR_TO_TCHAR usage
smithAchang Sep 26, 2023
5cea4f3
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 26, 2023
b0ad5dd
fix bug for coredump when free chunks
smithAchang Sep 26, 2023
7202657
1、use chunk header type typedef
smithAchang Sep 26, 2023
fb136e9
add calloc test using memcmp,not only check return pointer
smithAchang Sep 26, 2023
f066bb4
fix comment issue of coding style
smithAchang Sep 26, 2023
d996a54
fix some linux compiler warnings
smithAchang Sep 26, 2023
0baa983
Merge branch 'cascadedMalloc' of github.com:smithAchang/ACE_TAO into …
smithAchang Sep 27, 2023
378a913
delete ACE/MPC dir for misoperation
smithAchang Sep 27, 2023
d4e7d14
modify growth strategy to exponential growth when hierarchy grows fo…
smithAchang Sep 29, 2023
874d9cb
keep the consistent to cascaded malloc branch
smithAchang Sep 29, 2023
92066a1
add exception safety for the growth of chunk sum
smithAchang Sep 29, 2023
4a9c114
fix the exception safety for calling vector push_back API
smithAchang Sep 29, 2023
f9ce11d
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 29, 2023
f1f4bba
add exception safety for malloc API when calling vector resize
smithAchang Sep 29, 2023
8450156
Using std::unique_ptr will be more exception-safe literally
smithAchang Sep 29, 2023
1421d3a
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 29, 2023
0c8067c
delete defence codes
smithAchang Sep 29, 2023
cc4053c
delete unused temp stack var
smithAchang Sep 29, 2023
1087b38
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 29, 2023
606f80d
1、add exception safety for constructor using unique_ptr
smithAchang Sep 29, 2023
534fa2e
access this->hierarchy_.size() will more quickly than stack temp var
smithAchang Sep 29, 2023
ac5f611
fix invalid document of class
smithAchang Sep 29, 2023
70f28ad
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Sep 29, 2023
d096fae
Merge branch 'cascadedMalloc' of github.com:smithAchang/ACE_TAO into …
smithAchang Oct 8, 2023
fec93be
fix coding style of comment
smithAchang Oct 8, 2023
1c5ef7e
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Oct 8, 2023
9dc4df7
fix right const coding style
smithAchang Oct 8, 2023
42b409e
fix for right const coding style
smithAchang Oct 8, 2023
a837b5d
format using clang-format
smithAchang Oct 8, 2023
118c1cb
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Oct 8, 2023
ce594f4
fix coding style
smithAchang Oct 8, 2023
3a70c46
fix for coding style of no parameter function call
smithAchang Oct 8, 2023
c9ead44
fix for coding style of function call
smithAchang Oct 8, 2023
bcc1e27
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Oct 8, 2023
ffcea60
fix for codding style of var declaration
smithAchang Oct 8, 2023
3e0bd04
fix pointer arith issue
smithAchang Nov 24, 2023
021ef62
optimization for cascaded allocator considering the character that on…
smithAchang Jan 13, 2024
92c3499
Merge branch 'master' into cascadedAllocator
smithAchang Jan 13, 2024
6143756
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Jan 13, 2024
b84e0c4
modify the branch judgement of the last allocator using const var
smithAchang Apr 4, 2024
178ed31
Merge branch 'cascadedAllocator' into cascadedMalloc
smithAchang Apr 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading