Skip to content

Increase StringBuilder initial size used in the ASM Frame class #22565

Closed
@philwebb

Description

@philwebb

The ASM Frame class builds typeDescriptor strings using a StringBuilder. It turns out that almost all descriptors are bigger than StringBuilder's default size of 16. Increasing the default size to 32 means that that AbstractStringBuilder.ensureCapacityInternal doesn't need to call Arrays.copyOf as often.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions