Skip to content

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

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[]).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions