Commit a3feb6c
committed
Move writeBinaryValue and SDK_BYTES asByteArrayUnsafe optimization to GC branch
Revert SDK_BYTES switch case to use the original writeValue(asByteBuffer())
path, matching the existing SimpleTypeJsonMarshaller.SDK_BYTES behavior.
Remove writeBinaryValue from StructuredJsonGenerator and SdkJsonGenerator
since it is no longer used on this branch.
The writeBinaryValue optimization (bypassing ByteBuffer allocation and
copyBytesFrom) will be introduced on alexwoo/json_huge_gc_opt alongside
the other allocation-reduction changes.1 parent 58a9d99 commit a3feb6c
3 files changed
Lines changed: 1 addition & 25 deletions
File tree
- core/protocols/aws-json-protocol/src/main/java/software/amazon/awssdk/protocols/json
- internal/marshall
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 209 | | |
220 | 210 | | |
221 | 211 | | |
| |||
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 105 | | |
111 | 106 | | |
112 | 107 | | |
| |||
174 | 169 | | |
175 | 170 | | |
176 | 171 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | 172 | | |
187 | 173 | | |
188 | 174 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
0 commit comments