Skip to content

Change ObjectArrayDeserializer to use "generic" type parameter (java.lang.Object) to remove co-variant return type #4263

@cowtowncoder

Description

@cowtowncoder

Describe your Issue

Looking at stack traces, it looks like co-variant method calls induced by generic typing for JsonDeserializer adds one stack frame per call. While not performance issue in general, this can be problematic for deep call stacks which are possible for this specific type; and in particular for Fuzzer-generated scenarios. To reduce call stack depth, let's change parameterization to be plain old java.lang.Object (instead of current Object[]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.17Issues planned at earliest for 2.17

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions